MAPG-69 redirect to sign up when user not found during login
This commit is contained in:
1 parent
9697163457
commit
10b7766458
8 files changed
+78
-22
No files matched your search
@@ -52,7 +52,7 @@ class UserController implements ISecured
|
||||
|
||||
if (strlen($this->request->post('password_new')) > 0) {
|
||||
if (strlen($this->request->post('password_new')) < 6) {
|
||||
$data = ['error' => 'passwords_too_short'];
|
||||
$data = ['error' => 'password_too_short'];
|
||||
return new JsonContent($data);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user