From d12555d157f33416a1fbcb5322a8bb56a82ee048 Mon Sep 17 00:00:00 2001 From: jinho jeong Date: Mon, 6 Jun 2022 18:59:01 +0900 Subject: [PATCH] remove todo --- .../oneul/global/config/security/InterceptorConfig.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/example/oneul/global/config/security/InterceptorConfig.java b/src/main/java/com/example/oneul/global/config/security/InterceptorConfig.java index 189f529..13cc183 100644 --- a/src/main/java/com/example/oneul/global/config/security/InterceptorConfig.java +++ b/src/main/java/com/example/oneul/global/config/security/InterceptorConfig.java @@ -1,12 +1,12 @@ package com.example.oneul.global.config.security; -import com.example.oneul.global.util.LoginCheckInterceptor; - import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.InterceptorRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; +import com.example.oneul.global.util.LoginCheckInterceptor; + @Configuration public class InterceptorConfig implements WebMvcConfigurer { @Value("${login-page}") @@ -14,7 +14,6 @@ public class InterceptorConfig implements WebMvcConfigurer { @Override public void addInterceptors(InterceptorRegistry interceptorRegistry){ - // TODO: 왜 exception이 다시 prehandler로 돌아가냐 interceptorRegistry.addInterceptor(new LoginCheckInterceptor(loginPage)) .excludePathPatterns("/user/login/**", "/user/signup/**"); }