Compare commits

..

3 Commits

Author SHA1 Message Date
42da9eb778
Merge pull request 'bugfix/fixes-for-password-reset' (!53) from bugfix/fixes-for-password-reset into master
All checks were successful
rvr-nextgen/pipeline/head This commit looks good
Reviewed-on: #53
2023-05-26 16:08:50 +02:00
d1dee27191
reset grecaptcha in case of error
All checks were successful
rvr-nextgen/pipeline/pr-master This commit looks good
2023-05-08 18:48:43 +02:00
726b1818d0
fix error message for password reset request 2023-05-08 18:48:12 +02:00
2 changed files with 4 additions and 1 deletions

View File

@ -64,6 +64,9 @@ var RVR = {
formError.style.display = 'block';
formError.innerHTML = this.response.error.errorText;
if (typeof grecaptcha !== 'undefined') {
grecaptcha.reset();
}
return;
}

View File

@ -196,7 +196,7 @@ class LoginController
if ($user === null) {
return new JsonContent([
'error' => [
'errorText' => 'No user found with the given email address / username.'
'errorText' => 'No user found with the given email address.'
]
]);
}