Skip to content

Commit

Permalink
overlord: auth: relax login failure blocking criteria
Browse files Browse the repository at this point in the history
  • Loading branch information
aitjcize committed Nov 15, 2023
1 parent 2aa9beb commit d5c574d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions overlord/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (
)

const (
maxFailCount = 5
blockDuration = 24 * time.Hour
maxFailCount = 10
blockDuration = 30 * time.Minute
)

func getRequestIP(r *http.Request) string {
Expand Down

0 comments on commit d5c574d

Please sign in to comment.