* 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
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
auth_proxy | Loading commit data... | |
auth.go | Loading commit data... | |
auth_proxy.go | Loading commit data... | |
auth_test.go | Loading commit data... | |
dashboard_redirect.go | Loading commit data... | |
dashboard_redirect_test.go | Loading commit data... | |
headers.go | Loading commit data... | |
logger.go | Loading commit data... | |
middleware.go | Loading commit data... | |
middleware_test.go | Loading commit data... | |
org_redirect.go | Loading commit data... | |
org_redirect_test.go | Loading commit data... | |
perf.go | Loading commit data... | |
quota.go | Loading commit data... | |
quota_test.go | Loading commit data... | |
recovery.go | Loading commit data... | |
recovery_test.go | Loading commit data... | |
render_auth.go | Loading commit data... | |
request_metrics.go | Loading commit data... | |
request_tracing.go | Loading commit data... | |
util.go | Loading commit data... | |
validate_host.go | Loading commit data... |