mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-29 07:12:32 +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;
|
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…
x
Reference in New Issue
Block a user