diff --git a/src/main/kotlin/com/info/maeumgagym/security/authentication/provider/impl/UserModelAuthenticationFactoryImpl.kt b/src/main/kotlin/com/info/maeumgagym/security/authentication/provider/impl/UserModelAuthenticationFactoryImpl.kt index 9da0ce8c..d6d5a1db 100644 --- a/src/main/kotlin/com/info/maeumgagym/security/authentication/provider/impl/UserModelAuthenticationFactoryImpl.kt +++ b/src/main/kotlin/com/info/maeumgagym/security/authentication/provider/impl/UserModelAuthenticationFactoryImpl.kt @@ -15,7 +15,7 @@ class UserModelAuthenticationFactoryImpl( UserModelAuthentication( userSubject = username, user = readUserPort.readByOAuthId(username) - ?: throw CriticalException("Cannot Find User By username : $username") + ?: throw CriticalException("Cannot Find User By username : $username, user was deleted but token did not revoked.") ) override fun createEmptyAuthentication(username: String): UserModelAuthentication =