Upgrade to Java 8 source and target baseline
This commit is contained in:
@@ -68,6 +68,10 @@ public class UserRepositoryUserDetailsService implements UserDetailsService {
|
||||
return AuthorityUtils.createAuthorityList("ROLE_USER");
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return getUsername();
|
||||
}
|
||||
|
||||
public String getUsername() {
|
||||
return getEmail();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user