mirror of
https://github.com/bitwarden/jslib
synced 2025-12-16 00:03:38 +00:00
Use MP policies when registering a new user through SSO (#587)
* use MP policies when registering a new user through SSO * prettier and linting
This commit is contained in:
@@ -40,7 +40,7 @@ export class ChangePasswordComponent implements OnInit {
|
||||
|
||||
async ngOnInit() {
|
||||
this.email = await this.stateService.getEmail();
|
||||
this.enforcedPolicyOptions = await this.policyService.getMasterPasswordPolicyOptions();
|
||||
this.enforcedPolicyOptions ??= await this.policyService.getMasterPasswordPolicyOptions();
|
||||
}
|
||||
|
||||
async submit() {
|
||||
|
||||
Reference in New Issue
Block a user