forked from SteamWar/SteamWar
Refactor V2 Auth
This commit is contained in:
@@ -74,7 +74,7 @@ fun Application.configurePlugins() {
|
||||
token.delete()
|
||||
return@authenticate null
|
||||
}
|
||||
if (token.type == TokenType.RESET_PASSWORD || token.type == TokenType.REFRESH_TOKEN) {
|
||||
if (token.type == TokenType.REFRESH_TOKEN) {
|
||||
token.delete()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user