[Policy] Reset Password data bugfix (#1175)

This commit is contained in:
Vincent Salucci 2021-09-02 11:42:27 -05:00 committed by GitHub
parent bc73452400
commit ca00fda023
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
</app-callout>
<div class="form-check">
<input class="form-check-input" type="checkbox" id="autoEnrollEnabled" name="AutoEnrollEnabled"
formControlName="autoEnroll">
formControlName="autoEnrollEnabled">
<label class="form-check-label" for="autoEnrollEnabled">
{{'resetPasswordPolicyAutoEnrollCheckbox' | i18n }}
</label>

View File

@ -25,7 +25,7 @@ export class ResetPasswordPolicy extends BasePolicy {
export class ResetPasswordPolicyComponent extends BasePolicyComponent {
data = this.fb.group({
autoEnroll: false,
autoEnrollEnabled: false,
});
defaultTypes: { name: string; value: string; }[];