removed invalid RealmName check (#24001)

back to having the server check this
now that we have #23667 there are no issues with spaces
This commit is contained in:
Erik Jan de Wit 2023-10-17 15:20:12 +02:00 committed by GitHub
parent 0d008df416
commit 427cd4b290
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,10 +88,6 @@ export default function NewRealmForm() {
validated={errors.realm ? "error" : "default"}
{...register("realm", {
required: { value: true, message: t("required") },
pattern: {
value: /^[a-zA-Z0-9-_]+$/,
message: t("invalidRealmName"),
},
})}
/>
</FormGroup>