Skip to content

Commit

Permalink
Allow empty passwords because in webui we are not showing the passwor…
Browse files Browse the repository at this point in the history
…d field so, initially it will be empty

#2212
  • Loading branch information
teosarca committed Oct 3, 2017
1 parent 265baaa commit 02ae8bd
Showing 1 changed file with 7 additions and 0 deletions.
Expand Up @@ -42,6 +42,13 @@ public void checkPassword(final I_AD_User user)
}

final String password = user.getPassword();

// NOTE: Allow empty passwords because in webui we are not showing the password field so, initially it will be empty
if(password == null || password.isEmpty())
{
return;
}

Services.get(IUserBL.class).assertValidPassword(password);
}

Expand Down

0 comments on commit 02ae8bd

Please sign in to comment.