mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 06:57:33 +00:00
fix: set active org to local and session storage (#2380)
This commit is contained in:
@@ -188,6 +188,7 @@ export class GrpcAuthService {
|
|||||||
|
|
||||||
public setActiveOrg(org: Org.AsObject): void {
|
public setActiveOrg(org: Org.AsObject): void {
|
||||||
this.storage.setItem(StorageKey.organization, org, StorageLocation.local);
|
this.storage.setItem(StorageKey.organization, org, StorageLocation.local);
|
||||||
|
this.storage.setItem(StorageKey.organization, org, StorageLocation.session);
|
||||||
this._activeOrgChanged.next(org);
|
this._activeOrgChanged.next(org);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user