Reenable Secure cookies
This commit is contained in:
parent
6c89d3e9be
commit
a3e1797240
2
auth.go
2
auth.go
@ -82,7 +82,7 @@ func completeAuth(w http.ResponseWriter, username string, email string, firstnam
|
|||||||
Expires: time.Now().Add(30 * 24 * time.Hour),
|
Expires: time.Now().Add(30 * 24 * time.Hour),
|
||||||
HttpOnly: true,
|
HttpOnly: true,
|
||||||
SameSite: http.SameSiteStrictMode,
|
SameSite: http.SameSiteStrictMode,
|
||||||
//Secure: true,
|
Secure: true,
|
||||||
})
|
})
|
||||||
|
|
||||||
return
|
return
|
||||||
|
Reference in New Issue
Block a user