mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-24 17:03:55 +10:00
release: v4.1.0
This commit is contained in:
@@ -8,7 +8,7 @@ export const usernameSchema = z
|
||||
.string()
|
||||
.min(3)
|
||||
.max(255)
|
||||
.regex(/^[a-z0-9._-]+$/, {
|
||||
.regex(/^[\d._a-z-]+$/, {
|
||||
message:
|
||||
"Usernames can only contain lowercase letters, numbers, periods, hyphens, and underscores.",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user