Add remember-me 설정 추가
This commit is contained in:
@@ -15,6 +15,11 @@ public class SecurityConfig {
|
||||
|
||||
@Bean
|
||||
public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
|
||||
http
|
||||
.httpBasic().disable()
|
||||
.csrf();
|
||||
http
|
||||
.rememberMe();
|
||||
http
|
||||
.authorizeHttpRequests(auth -> auth
|
||||
.antMatchers("/", "/home", "/signup", "/example",
|
||||
|
||||
Reference in New Issue
Block a user