extends the functionality of oauth in Stirling PDF 2.
This commit is contained in:
@@ -150,6 +150,6 @@ public class User {
|
||||
}
|
||||
|
||||
public boolean hasPassword() {
|
||||
return this.getPassword() != "" ? true : false;
|
||||
return this.password != null && !this.password.isEmpty();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user