We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29dfc9a commit a991258Copy full SHA for a991258
src/main/java/org/spacehub/entities/User/User.java
@@ -90,13 +90,9 @@ public String getPassword() {
90
91
@Override
92
public String getUsername() {
93
- if (this.username != null && !this.username.isBlank()) {
94
- return this.username;
95
- }
96
- return "Enter your username";
+ return email;
97
}
98
99
-
100
101
public boolean isAccountNonLocked() {
102
return !locked;
0 commit comments