From: Dessalines Date: Mon, 5 Oct 2020 00:13:29 +0000 (-0500) Subject: Adding max password length for registering. X-Git-Url: http://these/git/%7Bpost_view.post.url%7D?a=commitdiff_plain;h=ef6e9cdd3a0b346248b212cade76ef2419ec8784;p=lemmy-ui.git Adding max password length for registering. --- diff --git a/src/shared/components/login.tsx b/src/shared/components/login.tsx index 793bf3c..f3b0536 100644 --- a/src/shared/components/login.tsx +++ b/src/shared/components/login.tsx @@ -223,6 +223,7 @@ export class Login extends Component { value={this.state.registerForm.password} autoComplete="new-password" onInput={linkEvent(this, this.handleRegisterPasswordChange)} + maxLength={60} class="form-control" required />