1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-21 20:44:18 +00:00

🔧 Allow underscores in usernames

This commit is contained in:
Steffo 2021-05-30 18:13:35 +02:00
parent fcd899c2d1
commit 45cc6a8c7a
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -3,7 +3,7 @@ import FormInlineText from "./FormInlineText"
import { faAt } from "@fortawesome/free-solid-svg-icons" import { faAt } from "@fortawesome/free-solid-svg-icons"
const INVALID_CHARACTERS = /[^a-zA-Z0-9]/g const INVALID_CHARACTERS = /[^a-zA-Z0-9_]/g
/** /**