mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-04-01 11:28:05 +00:00
chore: more review comments
This commit is contained in:
@@ -801,5 +801,6 @@ func (auth *AuthService) lockdownMode() {
|
||||
func (auth *AuthService) ClearRateLimitsTestingOnly() {
|
||||
auth.loginMutex.Lock()
|
||||
auth.loginAttempts = make(map[string]*LoginAttempt)
|
||||
auth.lockdown = nil
|
||||
auth.loginMutex.Unlock()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user