File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
src/main/java/com/github/throyer/common/springboot/utils Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,9 @@ public Constants(
2525 }
2626
2727 public static class SECURITY {
28- public static final JsonWebToken JWT = new JsonWebToken ();
2928 public static final Integer DAY_MILLISECONDS = 86400 ;
30-
31- public static final Integer PASSWORD_STRENGTH = 10 ;
32- public static final BCryptPasswordEncoder PASSWORD_ENCODER = new BCryptPasswordEncoder (PASSWORD_STRENGTH );
29+ public static final JsonWebToken JWT = new JsonWebToken ();
30+ public static final BCryptPasswordEncoder PASSWORD_ENCODER = new BCryptPasswordEncoder (10 );
3331
3432 public static final String ROLES_KEY_ON_JWT = "roles" ;
3533 public static final String INVALID_USERNAME = "Invalid username." ;
You can’t perform that action at this time.
0 commit comments