106. Get token from local storage (#12)
This commit is contained in:
@ -57,4 +57,8 @@ export class AuthenticationService {
|
|||||||
return JSON.parse(userJson!);
|
return JSON.parse(userJson!);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public getToken(): string | null {
|
||||||
|
return this.token;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user