mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-24 17:28:31 +02:00
api: allow authentication when on http
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