grafana/conf
colin-stuart 6200361f36
Auth: Add IP address login attempt validation (#98123)
* Auth: Add IP address login attempt validation

* LoginAttempt struct IpAddress field must be camelCase to match db ip_address column

* add setting DisableIPAddressLoginProtection

* lint

* add DisableIPAddressLoginProtection setting to tests

* add request object to authenticate password test

* nit suggestions & rename tests

* add login attempt on failed password authentication

* dont need to reset login attempts if successful

* don't change error message

* revert go.work.sum

* Update pkg/services/authn/clients/password.go

Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>

---------

Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>
2025-02-05 20:16:36 +02:00
..
provisioning chore: remove repetitive words (#86412) 2024-04-17 13:08:00 +01:00
defaults.ini Auth: Add IP address login attempt validation (#98123) 2025-02-05 20:16:36 +02:00
ldap_multiple.toml LDAP: small improvements to various LDAP parts (#17662) 2019-06-19 15:46:04 +02:00
ldap.toml LDAP: Update ldap config comments with TLS info (#91636) 2024-08-08 17:01:22 +03:00
sample.ini Auth: Add IP address login attempt validation (#98123) 2025-02-05 20:16:36 +02:00