From: Dessalines <tyhou13@gmx.com>
Date: Tue, 26 Jan 2021 23:21:32 +0000 (-0500)
Subject: Adding maxLength to verify_password field. Fixes #145
X-Git-Url: http://these/git/%22%7Burl%7D/%22?a=commitdiff_plain;h=9d94cc90945e6fa511045b034524a0a3edaa9fc0;p=lemmy-ui.git

Adding maxLength to verify_password field. Fixes #145
---

diff --git a/src/shared/components/login.tsx b/src/shared/components/login.tsx
index ef8a5f7..acd05a3 100644
--- a/src/shared/components/login.tsx
+++ b/src/shared/components/login.tsx
@@ -245,6 +245,7 @@ export class Login extends Component<any, State> {
               value={this.state.registerForm.password_verify}
               autoComplete="new-password"
               onInput={linkEvent(this, this.handleRegisterPasswordVerifyChange)}
+              maxLength={60}
               class="form-control"
               required
             />