mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-28 14:52:24 +00:00
Correct toString() method in User class.
This commit is contained in:
parent
1dc4bb112e
commit
cde9cd6b36
@ -225,9 +225,9 @@ public class User implements UserDetails {
|
||||
boolean first = true;
|
||||
for (GrantedAuthority auth : authorities) {
|
||||
if (!first) {
|
||||
sb.append(", ");
|
||||
first = false;
|
||||
sb.append(",");
|
||||
}
|
||||
first = false;
|
||||
|
||||
sb.append(auth);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user