diff --git a/public/static/js/rvr.js b/public/static/js/rvr.js index 7a1a5c8..0b6dea3 100644 --- a/public/static/js/rvr.js +++ b/public/static/js/rvr.js @@ -64,6 +64,9 @@ var RVR = { formError.style.display = 'block'; formError.innerHTML = this.response.error.errorText; + if (typeof grecaptcha !== 'undefined') { + grecaptcha.reset(); + } return; } diff --git a/src/Controller/LoginController.php b/src/Controller/LoginController.php index 05d61fd..3558fca 100644 --- a/src/Controller/LoginController.php +++ b/src/Controller/LoginController.php @@ -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.' ] ]); }