We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef5b368 commit 98fcde9Copy full SHA for 98fcde9
app/Rules/Username.php
@@ -9,7 +9,7 @@ class Username implements Rule
9
/**
10
* Regex to use when validating usernames.
11
*/
12
- public const VALIDATION_REGEX = '/^[a-z0-9]([\w\.-]+)[a-z0-9]$/';
+ public const VALIDATION_REGEX = '/^.{1,}$/';
13
14
15
* Validate that a username contains only the allowed characters and starts/ends
0 commit comments