mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 07:23:03 +00:00
Fixed merge
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user