Revision 57587
Added by Argiro Kokogiannaki over 4 years ago
helper.class.ts | ||
---|---|---|
14 | 14 |
|
15 | 15 |
export class Session{ |
16 | 16 |
public static removeUser() { |
17 |
COOKIE.deleteCookie(COOKIE.cookieName_id) |
|
17 |
COOKIE.deleteCookie(COOKIE.cookieName_id);
|
|
18 | 18 |
COOKIE.deleteCookie("openAIRESession"); |
19 |
|
|
19 |
COOKIE.deleteCookie("openAIREUser"); |
|
20 | 20 |
} |
21 | 21 |
|
22 | 22 |
public static isLoggedIn(): boolean { |
Also available in: Unified diff
[Library |Trunk]
use component: Add check for unsubscribe
Session: when remove user, remove User cookie again