Fix organization policies not showin up in login/register (#1067)
This commit is contained in:
parent
c494cab234
commit
324b74d5a6
|
@ -81,6 +81,8 @@ export class AcceptOrganizationComponent extends BaseAcceptComponent {
|
|||
timeout: 10000,
|
||||
};
|
||||
this.toasterService.popAsync(toast);
|
||||
|
||||
await this.stateService.remove('orgInvitation');
|
||||
this.router.navigate(['/vault']);
|
||||
}
|
||||
|
||||
|
@ -90,6 +92,7 @@ export class AcceptOrganizationComponent extends BaseAcceptComponent {
|
|||
// Fix URL encoding of space issue with Angular
|
||||
this.orgName = this.orgName.replace(/\+/g, ' ');
|
||||
}
|
||||
await this.stateService.save('orgInvitation', qParams);
|
||||
}
|
||||
|
||||
private async performResetPasswordAutoEnroll(qParams: any): Promise<boolean> {
|
||||
|
|
|
@ -29,7 +29,7 @@ export abstract class BaseAcceptComponent implements OnInit {
|
|||
|
||||
constructor(protected router: Router, protected toasterService: ToasterService,
|
||||
protected i18nService: I18nService, protected route: ActivatedRoute,
|
||||
protected userService: UserService, private stateService: StateService) { }
|
||||
protected userService: UserService, protected stateService: StateService) { }
|
||||
|
||||
abstract authedHandler(qParams: any): Promise<void>;
|
||||
abstract unauthedHandler(qParams: any): Promise<void>;
|
||||
|
|
Loading…
Reference in New Issue