Fixed merge

This commit is contained in:
Giuseppe Digilio
2018-05-08 11:28:12 +02:00
parent f8b3cc516c
commit 5682c8146c
4 changed files with 12 additions and 12 deletions

View File

@@ -277,7 +277,7 @@ export class AuthService {
*/
public storeToken(token: AuthTokenInfo) {
// Add 1 day to the current date
const expireDate = Date.now() + (1000 * 60 * 60 * 24 * 1);
const expireDate = Date.now() + (1000 * 60 * 60 * 24);
// Set the cookie expire date
const expires = new Date(expireDate);
@@ -371,8 +371,8 @@ export class AuthService {
* Set redirect url
*/
setRedirectUrl(url: string) {
// Add 1 day to the current date
const expireDate = Date.now() + (1000 * 60 * 60 * 24 * 1);
// Add 1 hour to the current date
const expireDate = Date.now() + (1000 * 60 * 60);
// Set the cookie expire date
const expires = new Date(expireDate);