refactor: update auth token name
This commit is contained in:
parent
20533913bd
commit
9fd55bf994
|
@ -147,7 +147,7 @@ export class PortalAuthProvider implements RequiredAuthProvider {
|
||||||
|
|
||||||
maybeSetupAuth(): void {
|
maybeSetupAuth(): void {
|
||||||
const cookies = new Cookies();
|
const cookies = new Cookies();
|
||||||
const jwtCookie = cookies.get('jwt');
|
const jwtCookie = cookies.get('auth_token');
|
||||||
if (jwtCookie) {
|
if (jwtCookie) {
|
||||||
this.sdk.setAuthToken(jwtCookie);
|
this.sdk.setAuthToken(jwtCookie);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue