fix: review comments

This commit is contained in:
Stavros
2026-03-21 20:52:01 +02:00
parent 4a85a9d010
commit db73c56dfe
3 changed files with 2 additions and 7 deletions

View File

@@ -671,7 +671,6 @@ func (auth *AuthService) CleanupOAuthSessionsRoutine() {
for range ticker.C {
auth.oauthMutex.Lock()
defer auth.oauthMutex.Unlock()
now := time.Now()
@@ -680,6 +679,8 @@ func (auth *AuthService) CleanupOAuthSessionsRoutine() {
delete(auth.oauthPendingSessions, sessionId)
}
}
auth.oauthMutex.Unlock()
}
}