Skip to content

Commit

Permalink
Update externalLoginSubmitForm.js
Browse files Browse the repository at this point in the history
In Usage Statistics, the getLoginForm will not open.

Fix originally proposed under coral-erm#678
  • Loading branch information
andyp-uk authored Mar 21, 2022
1 parent 551eeeb commit f952cd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions usage/js/forms/externalLoginSubmitForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@

function validateExternalLogin() {
if($("#username").val() == ''){
$("#span_errors").html('<br />' + _('Please enter a username to continue');
$("#span_errors").html('<br />' + _('Please enter a username to continue'));
$("#username").focus();
return false;
}else if($("#password").val() == ''){
$("#span_errors").html('<br />' + _('For security, please enter a password');
$("#span_errors").html('<br />' + _('For security, please enter a password'));
$("#password").focus();
return false;
}else{
Expand Down

0 comments on commit f952cd2

Please sign in to comment.