diff --git a/js/functions.js b/js/functions.js
index 677fd0404d..a57dd108ae 100644
--- a/js/functions.js
+++ b/js/functions.js
@@ -5012,17 +5012,10 @@ function toggleDatepickerIfInvalid($td, $input_field) {
}
/*
- * Function to enable the 'Go' button on login.
+ * Function to submit the login form after validation is done.
*/
-function loginButtonEnable() {
- $('#input_go').prop('disabled', false);
-}
-
-/*
- * Function to disable the 'Go' button on login.
- */
-function loginButtonDisable() {
- $('#input_go').prop('disabled', true);
+function recaptchaCallback() {
+ $('#login_form').submit();
}
/**
diff --git a/libraries/plugins/auth/AuthenticationCookie.php b/libraries/plugins/auth/AuthenticationCookie.php
index 5d5f000d7b..f2a0f1f357 100644
--- a/libraries/plugins/auth/AuthenticationCookie.php
+++ b/libraries/plugins/auth/AuthenticationCookie.php
@@ -172,7 +172,7 @@ class AuthenticationCookie extends AuthenticationPlugin
echo '
-