Fixing valid password condition

This commit is contained in:
Gilvan Ornelas Fernandes Filho 2021-01-16 11:36:20 -03:00
parent 3ef0ac4257
commit 72ca7fde48
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ class CommonUser implements User {
@Override
public boolean passwordIsValid() {
return password == null || password.length() > 5;
return password != null && password.length() > 5;
}
@Override