fix mobileapi login

This commit is contained in:
2022-02-15 22:49:47 +01:00
parent d6caffb11c
commit aec6913000
8 changed files with 219 additions and 54 deletions

View File

@@ -27,7 +27,9 @@ class LoginController extends RestController
public function actionLogin()
{
$form = new LoginForm();
$post = \Yii::$app->request->post();
$post2 = $_POST;
$form->load(\Yii::$app->request->post(), '');
if ($form->validate()) {