mirror of
https://github.com/grafana/grafana.git
synced 2024-11-27 03:11:01 -06:00
82661b9f69
* Auth: consistently return same basic auth errors * Put repeated errors in consts and return only those consts as error strings * Add tests for errors basic auth cases and moves tests to separate test-case. Also names test cases consistently * Add more error logs and makes their messages consistent * A bit of code style * Add additional test helper * Auth: do not expose even incorrect password * Auth: address review comments Use `Debug` for the cases when it's an user error |
||
---|---|---|
.. | ||
auth_proxy | ||
auth_proxy.go | ||
auth_test.go | ||
auth.go | ||
dashboard_redirect_test.go | ||
dashboard_redirect.go | ||
headers.go | ||
logger.go | ||
middleware_test.go | ||
middleware.go | ||
org_redirect_test.go | ||
org_redirect.go | ||
perf.go | ||
quota_test.go | ||
quota.go | ||
recovery_test.go | ||
recovery.go | ||
render_auth.go | ||
request_metrics.go | ||
request_tracing.go | ||
util.go | ||
validate_host.go |