mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
fix bug with non-fresh install
This commit is contained in:
@@ -175,7 +175,7 @@ export default class PasswordPage {
|
|||||||
Validators.maxLength(64),
|
Validators.maxLength(64),
|
||||||
]),
|
]),
|
||||||
confirm: new FormControl(''),
|
confirm: new FormControl(''),
|
||||||
name: new FormControl('', [Validators.required]),
|
name: new FormControl('', this.isFresh ? [Validators.required] : []),
|
||||||
})
|
})
|
||||||
|
|
||||||
readonly validator = (value: string) => (control: AbstractControl) =>
|
readonly validator = (value: string) => (control: AbstractControl) =>
|
||||||
|
|||||||
Reference in New Issue
Block a user