Revert "fix: remove Secure property"

This reverts commit 9e5d996f20.
This commit is contained in:
Derrick Hammer 2024-03-18 16:54:42 -04:00
parent 9e5d996f20
commit 48dc1b9be0
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 0 deletions

View File

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