mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
coderd: tighten /login rate limiting (#4432)
* coderd: tighten /login rate limit * coderd: add Bypass rate limit header
This commit is contained in:
+8
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user