mirror of
https://github.com/nais/wonderwall.git
synced 2026-05-21 15:52:54 +00:00
refactor: consolidate cookie config, correct documentation
This commit is contained in:
@@ -42,8 +42,8 @@ func run() error {
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
defer cancel()
|
||||
|
||||
if cfg.CookiePrefix != cookie.DefaultPrefix {
|
||||
cookie.ConfigureCookieNamesWithPrefix(cfg.CookiePrefix)
|
||||
if cfg.Cookie.Prefix != cookie.DefaultPrefix {
|
||||
cookie.ConfigureCookieNamesWithPrefix(cfg.Cookie.Prefix)
|
||||
}
|
||||
|
||||
if cfg.SSO.Enabled {
|
||||
|
||||
Reference in New Issue
Block a user