8000 chore: fix csrf error message on empty session header by Emyrk · Pull Request #14018 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

chore: fix csrf error message on empty session header #14018

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 25, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
linting
  • Loading branch information
Emyrk committed Jul 25, 2024
commit 49f16a22a7ef87a172e1b0692fa5d4bfa76f9097
2 changes: 2 additions & 0 deletions coderd/httpmw/csrf_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ func TestCSRFExemptList(t *testing.T) {

// TestCSRFError verifies the error message returned to a user when CSRF
// checks fail.
//
//nolint:bodyclose // Using httptest.Recorders
func TestCSRFError(t *testing.T) {
t.Parallel()

Expand Down
Loading
0