Fixing logout after browser close.

pull/722/head
Dessalines 2019-08-19 15:22:05 -07:00
parent 64c0f7ed6e
commit 1e9cd32e1d
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ export class UserService {
public login(res: LoginResponse) { public login(res: LoginResponse) {
this.setUser(res.jwt); this.setUser(res.jwt);
Cookies.set("jwt", res.jwt); Cookies.set("jwt", res.jwt, { expires: 365 });
console.log("jwt cookie set"); console.log("jwt cookie set");
} }