NOT_AUTHORIZED 추가 (비인가 계정)
This commit is contained in:
parent
733a67fffc
commit
c73bd6459c
@ -42,8 +42,10 @@ public class MemberAuthFailureHandler implements AuthenticationFailureHandler {
|
||||
|
||||
if (exception instanceof BadCredentialsException || message.startsWith("NOT_FOUND")) {
|
||||
res = UserErrorCode.USER_NOT_FOUND.getApiResponse();
|
||||
} else if (message.startsWith("NOT_AUTHORIZED")) {
|
||||
} else if (message.startsWith("NOT_AUTH_USER")) {
|
||||
res = UserErrorCode.NOT_AUTH_USER.getApiResponse();
|
||||
} else if (message.startsWith("NOT_AUTHORIZED")) {
|
||||
res = UserErrorCode.NOT_AUTHORIZED.getApiResponse();
|
||||
} else if (message.startsWith("EXIT")) {
|
||||
res = UserErrorCode.EXIT_USER.getApiResponse();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user