diff options
Diffstat (limited to 'src/main/java/com/juick/server/configuration/SecurityConfig.java')
-rw-r--r-- | src/main/java/com/juick/server/configuration/SecurityConfig.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main/java/com/juick/server/configuration/SecurityConfig.java b/src/main/java/com/juick/server/configuration/SecurityConfig.java index 23a41e11..0fab087f 100644 --- a/src/main/java/com/juick/server/configuration/SecurityConfig.java +++ b/src/main/java/com/juick/server/configuration/SecurityConfig.java @@ -59,10 +59,6 @@ import java.util.concurrent.TimeUnit; public class SecurityConfig { @Resource private UserService userService; - @Value("${auth_remember_me_key:secret}") - private String rememberMeKey; - @Value("${web_domain:localhost}") - private String webDomain; private static final String COOKIE_NAME = "juick-remember-me"; @@ -90,8 +86,6 @@ public class SecurityConfig { public static class ApiConfig extends WebSecurityConfigurerAdapter { @Value("${auth_remember_me_key:secret}") private String rememberMeKey; - @Value("${web_domain:localhost}") - private String webDomain; @Resource private UserService userService; @Resource |