Skip to content

Commit 2d7aba1

Browse files
committed
remove some comment
1 parent 97ac613 commit 2d7aba1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

coderd/httpmw/csrf.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ func CSRF(secureCookie bool) func(next http.Handler) http.Handler {
2626
// If a user is using header authentication and cookie auth, but the values
2727
// do not match, the cookie value takes priority.
2828
// At the very least, return a more helpful error to the user.
29-
// This happens frequently on the hosted swagger docs. There
30-
// is no easy way to disable cookies from
3129
http.Error(w,
3230
fmt.Sprintf("CSRF error encountered. Authentication via %q cookie and %q header detected, but the values do not match. "+
3331
"To resolve this issue ensure the values used in both match, or only use one of the authentication methods. "+

0 commit comments

Comments
 (0)