Use same case for all fields in toString

This commit is contained in:
valery1707 2023-10-02 17:32:50 +03:00 committed by Josh Cummings
parent d9399dfda0
commit cc86afe658
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ public class User implements UserDetails, CredentialsContainer {
sb.append("Password=[PROTECTED], ");
sb.append("Enabled=").append(this.enabled).append(", ");
sb.append("AccountNonExpired=").append(this.accountNonExpired).append(", ");
sb.append("credentialsNonExpired=").append(this.credentialsNonExpired).append(", ");
sb.append("CredentialsNonExpired=").append(this.credentialsNonExpired).append(", ");
sb.append("AccountNonLocked=").append(this.accountNonLocked).append(", ");
sb.append("Granted Authorities=").append(this.authorities).append("]");
return sb.toString();