Skip to content
Snippets Groups Projects
Commit 28862ec4 authored by Baptiste Toulemonde's avatar Baptiste Toulemonde
Browse files

modify cookie expiration

parent 3661901b
No related branches found
No related tags found
1 merge request!34Feature/indigo auth
import { Injectable } from '@angular/core';
import { Session } from 'inspector';
import { Cookie } from 'ng2-cookies';
import { AuthService } from './auth.service';
......@@ -24,7 +25,7 @@ export class TokenStorageService {
}
public saveTokenFDP(fdpToken: string): void {
Cookie.set('fdp_token',fdpToken, 1000 )
Cookie.set('fdp_token',fdpToken, 1 )
}
public getToken(): string {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment