Revert "fix: remove Secure property"

This reverts commit 044604d863.
This commit is contained in:
Derrick Hammer 2024-03-18 16:40:18 -04:00
parent 044604d863
commit 649e0e0011
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 0 deletions

View File

@ -137,6 +137,7 @@ func ClearAuthCookie(jc jape.Context, apiName string) {
Name: routeableApi.AuthTokenName(),
Value: "",
Expires: time.Now().Add(-1 * time.Hour),
Secure: true,
HttpOnly: true,
Path: "/",
Domain: routeableApi.Domain(),