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
This commit is contained in:
Bence Pőcze 2023-05-26 16:08:50 +02:00 committed by Gitea
commit 42da9eb778
Signed by: Gitea
GPG Key ID: 7B89B83EED9AD2C6
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.'
]
]);
}