Refactor V2 Auth

This commit is contained in:
2025-02-23 17:24:14 +01:00
parent b045f16160
commit a2b3661605
6 changed files with 60 additions and 182 deletions
@@ -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()
}