fix bug with non-fresh install

This commit is contained in:
Matt Hill
2026-03-14 14:26:55 -06:00
parent ae5fe88a40
commit d1b80cffb8

View File

@@ -175,7 +175,7 @@ export default class PasswordPage {
Validators.maxLength(64),
]),
confirm: new FormControl(''),
name: new FormControl('', [Validators.required]),
name: new FormControl('', this.isFresh ? [Validators.required] : []),
})
readonly validator = (value: string) => (control: AbstractControl) =>