Compare commits

...

4 Commits

Author SHA1 Message Date
3662ced22b Merge pull request 'fix: fixed domain in UI settings of cookie' (#96) from dev into master
All checks were successful
Deploy application with Docker / build_and_deploy (push) Successful in 1m2s
Reviewed-on: #96
2026-03-12 20:24:09 -07:00
4645d61d65 Merge branch 'master' into dev 2026-03-12 20:24:05 -07:00
Hayden Hargreaves
cb6ac7610c Merge branch 'dev' of gitea:azpect/Potion into dev 2026-03-12 20:23:42 -07:00
Hayden Hargreaves
57ffa49c5b fix: fixed domain in UI settings of cookie 2026-03-12 20:23:22 -07:00

View File

@ -14,6 +14,7 @@ export default function AuthCallback() {
// Set cookie with 7 day expiration, accessible across all subdomains // Set cookie with 7 day expiration, accessible across all subdomains
setCookie("jwt_token", token, { setCookie("jwt_token", token, {
path: "/", path: "/",
domain: "gophernest.net", // shared across all subdomains
maxAge: 60 * 60 * 24 * 7, // 7 days in seconds maxAge: 60 * 60 * 24 * 7, // 7 days in seconds
secure: true, secure: true,
sameSite: "lax", sameSite: "lax",