mirror of
https://github.com/zitadel/zitadel.git
synced 2025-05-28 20:58:22 +00:00
fix: send csrf on root path (#444)
This commit is contained in:
parent
0c442cbb3a
commit
d8eef34a37
@ -83,6 +83,7 @@ func csrfInterceptor(config CSRF, errorHandler http.Handler) (func(http.Handler)
|
||||
return csrf.Protect([]byte(csrfKey),
|
||||
csrf.Secure(!config.Development),
|
||||
csrf.CookieName(config.CookieName),
|
||||
csrf.Path("/"),
|
||||
csrf.ErrorHandler(errorHandler),
|
||||
), nil
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user