add ActivatedFilter
This commit is contained in:
@@ -59,8 +59,14 @@ class LoginController extends RestController
|
||||
|
||||
protected function getOptionalActions()
|
||||
{
|
||||
// user must not be logged in to call this actions
|
||||
return ['login'];
|
||||
}
|
||||
|
||||
protected function getOptionalActivatedActions()
|
||||
{
|
||||
// user must not be activated to call this actions
|
||||
return ['login'];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user