Skip to content

Commit

Permalink
Merge pull request #699 from mirkh/patch-1
Browse files Browse the repository at this point in the history
Usage module getLoginForm will not open
  • Loading branch information
andyp-uk authored Mar 21, 2022
2 parents c388297 + a0ae0bc commit ed9e087
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 ed9e087

Please sign in to comment.