MAPG-69 redirect to sign up when user not found during login

This commit is contained in:
bence committed 2020-06-21 15:12:45 +02:00
1 parent 9697163457
commit 10b7766458
8 files changed
+78 -22

No files matched your search

+1 -1
View File
@@ -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);
}