fix off by one error in username legth limit
This commit is contained in:
parent
791d0f0aad
commit
886f548713
@ -47,7 +47,7 @@ export const SignUp: React.FC = () => {
|
|||||||
value={username} onChange={e => setUsername(e.target.value)}
|
value={username} onChange={e => setUsername(e.target.value)}
|
||||||
placeholder="not-your-real-name" required
|
placeholder="not-your-real-name" required
|
||||||
minLength={4}
|
minLength={4}
|
||||||
maxLength={30}
|
maxLength={29}
|
||||||
pattern="\w+"
|
pattern="\w+"
|
||||||
title="Usernames can contain only letters, numbers and the underscore"
|
title="Usernames can contain only letters, numbers and the underscore"
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user