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…
Reference in New Issue