disallow underscores for names
This commit is contained in:
@@ -62,8 +62,8 @@ export default function AuthModal() {
|
||||
<span>Name</span>
|
||||
<input
|
||||
type="text"
|
||||
pattern="[A-Za-z0-9_]+"
|
||||
title="Alphanumeric characters and underscores only"
|
||||
pattern="[A-Za-z0-9]+"
|
||||
title="Alphanumeric characters only"
|
||||
id="guestName"
|
||||
name="guestName"
|
||||
placeholder="Enter name here..."
|
||||
|
||||
Reference in New Issue
Block a user