Update User.java
fixed a typo; replaced "User.witUsername("user")" with "User.withUsername("user")"
This commit is contained in:
parent
bb15213091
commit
0e37c0912e
|
@ -314,7 +314,7 @@ public class User implements UserDetails, CredentialsContainer {
|
|||
*
|
||||
* <pre>
|
||||
* <code>
|
||||
* UserDetails user = User.witUsername("user")
|
||||
* UserDetails user = User.withUsername("user")
|
||||
* .password("{bcrypt}$2a$10$dXJ3SW6G7P50lGmMkkmwe.20cQQubK3.HZWzG3YB1tlRy.fqvM/BG")
|
||||
* .roles("USER")
|
||||
* .build();
|
||||
|
|
Loading…
Reference in New Issue