fix: set auth token globally on sdk after login

This commit is contained in:
Derrick Hammer 2024-03-18 12:50:26 -04:00
parent 2140a63add
commit 2402d3e076
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 0 deletions

View File

@ -76,6 +76,7 @@ export class PortalAuthProvider implements RequiredAuthProvider {
if (!redirectTo) { if (!redirectTo) {
redirectTo = ret ? "/dashboard" : "/login"; redirectTo = ret ? "/dashboard" : "/login";
} }
this._sdk.setAuthToken(this._sdk.account().jwtToken);
} }
return { return {