mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 12:21:13 +00:00
Adding more max password lengths. Fixes #211
This commit is contained in:
parent
2e2b18c717
commit
7ada591f2e
4 changed files with 9 additions and 0 deletions
|
@ -134,6 +134,7 @@ export class Login extends Component<any, State> {
|
|||
onInput={linkEvent(this, this.handleLoginPasswordChange)}
|
||||
class="form-control"
|
||||
required
|
||||
maxLength={60}
|
||||
/>
|
||||
<button
|
||||
type="button"
|
||||
|
|
|
@ -92,6 +92,7 @@ export class PasswordChange extends Component<any, State> {
|
|||
onInput={linkEvent(this, this.handlePasswordChange)}
|
||||
class="form-control"
|
||||
required
|
||||
maxLength={60}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -107,6 +108,7 @@ export class PasswordChange extends Component<any, State> {
|
|||
onInput={linkEvent(this, this.handleVerifyPasswordChange)}
|
||||
class="form-control"
|
||||
required
|
||||
maxLength={60}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -123,6 +123,7 @@ export class Setup extends Component<any, State> {
|
|||
onInput={linkEvent(this, this.handleRegisterPasswordChange)}
|
||||
class="form-control"
|
||||
required
|
||||
maxLength={60}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -138,6 +139,7 @@ export class Setup extends Component<any, State> {
|
|||
onInput={linkEvent(this, this.handleRegisterPasswordVerifyChange)}
|
||||
class="form-control"
|
||||
required
|
||||
maxLength={60}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -669,6 +669,7 @@ export class User extends Component<any, UserState> {
|
|||
class="form-control"
|
||||
value={this.state.userSettingsForm.new_password}
|
||||
autoComplete="new-password"
|
||||
maxLength={60}
|
||||
onInput={linkEvent(
|
||||
this,
|
||||
this.handleUserSettingsNewPasswordChange
|
||||
|
@ -690,6 +691,7 @@ export class User extends Component<any, UserState> {
|
|||
class="form-control"
|
||||
value={this.state.userSettingsForm.new_password_verify}
|
||||
autoComplete="new-password"
|
||||
maxLength={60}
|
||||
onInput={linkEvent(
|
||||
this,
|
||||
this.handleUserSettingsNewPasswordVerifyChange
|
||||
|
@ -711,6 +713,7 @@ export class User extends Component<any, UserState> {
|
|||
class="form-control"
|
||||
value={this.state.userSettingsForm.old_password}
|
||||
autoComplete="new-password"
|
||||
maxLength={60}
|
||||
onInput={linkEvent(
|
||||
this,
|
||||
this.handleUserSettingsOldPasswordChange
|
||||
|
@ -806,6 +809,7 @@ export class User extends Component<any, UserState> {
|
|||
type="password"
|
||||
value={this.state.deleteAccountForm.password}
|
||||
autoComplete="new-password"
|
||||
maxLength={60}
|
||||
onInput={linkEvent(
|
||||
this,
|
||||
this.handleDeleteAccountPasswordChange
|
||||
|
|
Loading…
Reference in a new issue