mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-23 17:28:53 +02:00
allow using auth without https
This commit is contained in:
@@ -162,7 +162,7 @@ func (auth *OIDCProvider) RedirectLoginPage(w http.ResponseWriter, r *http.Reque
|
||||
MaxAge: 300,
|
||||
HttpOnly: true,
|
||||
SameSite: http.SameSiteLaxMode,
|
||||
Secure: true,
|
||||
Secure: r.TLS != nil,
|
||||
Path: "/",
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user