Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
78ef6d9ca0 | ||
|
|
cee0bc4cfe | ||
|
|
9a8510d833 | ||
|
|
ee034a7252 |
+1
-1
@@ -185,7 +185,7 @@ export class SimApiCore {
|
||||
|
||||
setToken(token: string): void {
|
||||
const name = this.auth.token_name
|
||||
document.cookie = `${name}=${token}; path=/; secure; samesite=none`
|
||||
document.cookie = `${name}=${token}; path=/; max-age=315360000; secure; samesite=none`
|
||||
}
|
||||
|
||||
removeToken(): void {
|
||||
|
||||
Reference in New Issue
Block a user