Fix setup password. Fixes #478 (#484)
authorDessalines <dessalines@users.noreply.github.com>
Tue, 16 Nov 2021 14:46:22 +0000 (09:46 -0500)
committerGitHub <noreply@github.com>
Tue, 16 Nov 2021 14:46:22 +0000 (09:46 -0500)
src/shared/components/home/setup.tsx

index eef59bd00d8a3fe2f0ef4d0289b3dd0c5b119531..52546997c075515329f53701eadc516ab643b0f9 100644 (file)
@@ -122,6 +122,8 @@ export class Setup extends Component<any, State> {
               onInput={linkEvent(this, this.handleRegisterPasswordChange)}
               class="form-control"
               required
+              autoComplete="new-password"
+              minLength={10}
               maxLength={60}
             />
           </div>
@@ -138,6 +140,8 @@ export class Setup extends Component<any, State> {
               onInput={linkEvent(this, this.handleRegisterPasswordVerifyChange)}
               class="form-control"
               required
+              autoComplete="new-password"
+              minLength={10}
               maxLength={60}
             />
           </div>