]> Untitled Git - lemmy-ui.git/commitdiff
Adding max password length for registering.
authorDessalines <tyhou13@gmx.com>
Mon, 5 Oct 2020 00:13:29 +0000 (19:13 -0500)
committerDessalines <tyhou13@gmx.com>
Mon, 5 Oct 2020 00:13:29 +0000 (19:13 -0500)
src/shared/components/login.tsx

index 793bf3cac7c403f2f358f3b07f8d8be258a32778..f3b0536a9edb6f8043b1d2ef2d86320d3bfa0e69 100644 (file)
@@ -223,6 +223,7 @@ export class Login extends Component<any, State> {
               value={this.state.registerForm.password}
               autoComplete="new-password"
               onInput={linkEvent(this, this.handleRegisterPasswordChange)}
+              maxLength={60}
               class="form-control"
               required
             />