projects
/
lemmy-ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d00a4fa
)
Fix jwt cookie path
author
sunaurus
<sander@saarend.com>
Sat, 1 Jul 2023 23:04:44 +0000
(
02:04
+0300)
committer
sunaurus
<sander@saarend.com>
Sat, 1 Jul 2023 23:04:44 +0000
(
02:04
+0300)
src/shared/services/UserService.ts
patch
|
blob
|
history
diff --git
a/src/shared/services/UserService.ts
b/src/shared/services/UserService.ts
index 2bb6e16a84c9c2e0c1d545e0319489c63d06412f..3757e2369604da65cb19c9cbe2a3b3f087059cdf 100644
(file)
--- a/
src/shared/services/UserService.ts
+++ b/
src/shared/services/UserService.ts
@@
-38,6
+38,7
@@
export class UserService {
secure: isHttps(),
domain: location.hostname,
sameSite: true,
+ path: "/",
});
this.#setJwtInfo();
}