add a maximum length of password in signup form (#384)

This commit is contained in:
Hongbo Wu 2022-04-06 10:30:57 +08:00 committed by GitHub
parent ef4e243f87
commit 01001bc4a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,7 @@ export default function EmailRegistration(): JSX.Element {
</div>
<div>
<label>Password</label>
<input type="password" name={'password'} required />
<input type="password" name={'password'} required maxLength={40} />
</div>
<div>
<label>Full Name</label>