본인인증 : block 된 사용자 정보로 본인인증을 시도하는 경우
- 본인인증 시도 계정 탈퇴 처리
This commit is contained in:
@@ -57,7 +57,10 @@ class AuthService(
|
|||||||
val certificateYear = certificate.birth.substring(0, 4).toInt()
|
val certificateYear = certificate.birth.substring(0, 4).toInt()
|
||||||
|
|
||||||
if (isBlockAuth(certificate)) {
|
if (isBlockAuth(certificate)) {
|
||||||
|
try {
|
||||||
signOut(memberId = memberId)
|
signOut(memberId = memberId)
|
||||||
|
} catch (_: Exception) {
|
||||||
|
}
|
||||||
throw SodaException(blockMessage)
|
throw SodaException(blockMessage)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user