test #257
|
@ -24,10 +24,8 @@ class AuthController(private val service: AuthService) {
|
|||
if (service.isBlockAuth(authenticateData)) {
|
||||
service.signOut(member.id!!)
|
||||
throw SodaException("운영정책을 위반하여 이용을 제한합니다.")
|
||||
} else {
|
||||
service.authenticate(authenticateData, member.id!!)
|
||||
}
|
||||
|
||||
ApiResponse.ok(null, null)
|
||||
ApiResponse.ok(service.authenticate(authenticateData, member.id!!))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue