feat: add brute force protection (#59)

* feat: add brute force protection

* fix: bind flags to env

---------

Co-authored-by: Stavros <steveiliop56@gmail.com>
This commit is contained in:
Alexander
2025-04-07 00:28:20 +09:00
committed by GitHub
parent 98abe514e1
commit 07ddd4f917
7 changed files with 237 additions and 3 deletions

View File

@@ -66,7 +66,7 @@ func getAPI(t *testing.T) *api.API {
Username: user.Username,
Password: user.Password,
},
}, nil, apiConfig.SessionExpiry)
}, nil, apiConfig.SessionExpiry, 300, 5)
// Create providers service
providers := providers.NewProviders(types.OAuthConfig{})