]> Untitled Git - lemmy-ui.git/commitdiff
Fix jwt cookie path
authorsunaurus <sander@saarend.com>
Sat, 1 Jul 2023 23:04:44 +0000 (02:04 +0300)
committersunaurus <sander@saarend.com>
Sat, 1 Jul 2023 23:04:44 +0000 (02:04 +0300)
src/shared/services/UserService.ts

index 2bb6e16a84c9c2e0c1d545e0319489c63d06412f..3757e2369604da65cb19c9cbe2a3b3f087059cdf 100644 (file)
@@ -38,6 +38,7 @@ export class UserService {
         secure: isHttps(),
         domain: location.hostname,
         sameSite: true,
+        path: "/",
       });
       this.#setJwtInfo();
     }