Merge pull request 'bugfix/fixes-for-password-reset' () from bugfix/fixes-for-password-reset into master

Reviewed-on: 
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
public/static/js
src/Controller

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

@ -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.'
]
]);
}