Fix Role Name Typo

Closes gh-14965
This commit is contained in:
Josh Cummings 2024-04-26 15:37:51 -06:00
parent d88f2e5133
commit 2477c22674
No known key found for this signature in database
GPG Key ID: A306A51F43B8E5A5
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ public class DefaultSecurityConfig {
InMemoryUserDetailsManager inMemoryUserDetailsManager() { <2>
String generatedPassword = // ...;
return new InMemoryUserDetailsManager(User.withUsername("user")
.password(generatedPassword).roles("ROLE_USER").build());
.password(generatedPassword).roles("USER").build());
}
@Bean