Skip to content

Commit

Permalink
allow login for short usernames
Browse files Browse the repository at this point in the history
Signed-off-by: Xheni Myrtaj <myrtajxheni@gmail.com>
  • Loading branch information
xh3n1 committed Jun 12, 2018
1 parent e3177c8 commit e8eca2c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion js/dist/phpList_ui_bootlist.js
Expand Up @@ -4739,7 +4739,7 @@ $(document).ready(function() {
});

$('#login-form').submit(function(){
if ($('input[type=text].form-control').val().length < 4 || $('input[type=password].form-control').val().length < 2 ) {
if ($('input[type=text].form-control').val().length < 1 || $('input[type=password].form-control').val().length < 2 ) {
alert('Please enter your credentials');
return false;
}
Expand Down

0 comments on commit e8eca2c

Please sign in to comment.