coderd: tighten /login rate limiting (#4432)

* coderd: tighten /login rate limit

* coderd: add Bypass rate limit header
This commit is contained in:
Ammar Bandukwala
2022-10-20 12:01:23 -05:00
committed by GitHub
parent 43f199a987
commit 423ac04156
6 changed files with 211 additions and 20 deletions
+8 -4
View File
@@ -235,10 +235,15 @@ linters:
- noctx
- paralleltest
- revive
- rowserrcheck
- sqlclosecheck
# These don't work until the following issue is solved.
# https://github.com/golangci/golangci-lint/issues/2649
# - rowserrcheck
# - sqlclosecheck
# - structcheck
# - wastedassign
- staticcheck
- structcheck
- tenv
# In Go, it's possible for a package to test it's internal functionality
# without testing any exported functions. This is enabled to promote
@@ -253,4 +258,3 @@ linters:
- unconvert
- unused
- varcheck
- wastedassign