]> Untitled Git - lemmy-ui.git/commitdiff
Adding maxLength to verify_password field. Fixes #145
authorDessalines <tyhou13@gmx.com>
Tue, 26 Jan 2021 23:21:32 +0000 (18:21 -0500)
committerDessalines <tyhou13@gmx.com>
Tue, 26 Jan 2021 23:21:32 +0000 (18:21 -0500)
src/shared/components/login.tsx

index ef8a5f7a62046d8b2ca6c1931383b8de3316ff1e..acd05a301deb5a6bc1a0d427048e0ff564f23a86 100644 (file)
@@ -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
             />