Add remember-me 설정 추가

This commit is contained in:
Daeil Choi
2023-02-06 11:53:40 +09:00
parent 584d7f1b94
commit 110324776d
2 changed files with 9 additions and 0 deletions

View File

@@ -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",