mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
fix bug with non-fresh install
This commit is contained in:
@@ -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) =>
|
||||
|
||||
Reference in New Issue
Block a user