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;
|
boolean first = true;
|
||||||
for (GrantedAuthority auth : authorities) {
|
for (GrantedAuthority auth : authorities) {
|
||||||
if (!first) {
|
if (!first) {
|
||||||
sb.append(", ");
|
sb.append(",");
|
||||||
first = false;
|
|
||||||
}
|
}
|
||||||
|
first = false;
|
||||||
|
|
||||||
sb.append(auth);
|
sb.append(auth);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue