Merge branch 'master' into portfolio
This commit is contained in:
commit
87d936a207
@ -42,21 +42,20 @@ class UserController extends ActiveController
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function actions(): array
|
public function actions()
|
||||||
{
|
{
|
||||||
$actions = parent::actions();
|
$actions = parent::actions();
|
||||||
unset($actions['index']);
|
unset($actions['index']);
|
||||||
unset($actions['create']);
|
unset($actions['create']);
|
||||||
unset($actions['update']);
|
unset($actions['update']);
|
||||||
unset($actions['delete']);
|
unset($actions['delete']);
|
||||||
return $actions;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function verbs(){
|
// protected function verbs(){
|
||||||
return [
|
// return [
|
||||||
'login' => ['POST']
|
// 'login' => ['POST']
|
||||||
];
|
// ];
|
||||||
}
|
// }
|
||||||
|
|
||||||
public function actionLogin()
|
public function actionLogin()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user