diff --git a/src/main/java/capstone/bookitty/common/SecurityConfig.java b/src/main/java/capstone/bookitty/common/SecurityConfig.java index b2722ce..b0156f6 100644 --- a/src/main/java/capstone/bookitty/common/SecurityConfig.java +++ b/src/main/java/capstone/bookitty/common/SecurityConfig.java @@ -45,7 +45,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { antMatcher("/members/new"), antMatcher("/members/email/**")).permitAll() //.requestMatchers(antMatcher("")).authenticated() - .anyRequest().permitAll()) + .anyRequest().authenticated()) .formLogin(AbstractHttpConfigurer::disable) .logout((logout) -> logout