mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Методы в Authserver AuthenticationController прикрыты verb фильтром
This commit is contained in:
@ -13,6 +13,16 @@ class AuthenticationController extends Controller {
|
||||
return $behaviors;
|
||||
}
|
||||
|
||||
public function verbs() {
|
||||
return [
|
||||
'authenticate' => ['POST'],
|
||||
'refresh' => ['POST'],
|
||||
'validate' => ['POST'],
|
||||
'signout' => ['POST'],
|
||||
'invalidate' => ['POST'],
|
||||
];
|
||||
}
|
||||
|
||||
public function actionAuthenticate() {
|
||||
$model = new models\AuthenticationForm();
|
||||
$model->loadByPost();
|
||||
|
Reference in New Issue
Block a user