Skip to content

Commit

Permalink
Remove password instructions on login form
Browse files Browse the repository at this point in the history
  • Loading branch information
damionvega committed Feb 22, 2024
1 parent a692517 commit fdf42cd
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions package/src/views/LogInWithPassword.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,14 @@ const LogInWithPassword = ({ onEvent, allowBack, error }) => {
});
}
};

return (
<form onSubmit={handleSubmit} className="userfront-form">
<div className="userfront-form-row">
<Input.EmailOrUsername showError={emailOrUsernameError} />
</div>
<div className="userfront-form-row">
<Input.Password showError={passwordError} />
<span
className="userfront-secondary-text"
id="userfront-password-rules"
>
At least 16 characters OR at least 8 characters including a number and
a letter.
</span>
<Input.Password label="Password" showError={passwordError} />
</div>
<ErrorMessage error={error} />
<div className="userfront-button-row">
Expand Down

0 comments on commit fdf42cd

Please sign in to comment.