Skip to content

Commit 98fcde9

Browse files
committed
fix: remove garbage validation code
1 parent ef5b368 commit 98fcde9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Rules/Username.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class Username implements Rule
99
/**
1010
* Regex to use when validating usernames.
1111
*/
12-
public const VALIDATION_REGEX = '/^[a-z0-9]([\w\.-]+)[a-z0-9]$/';
12+
public const VALIDATION_REGEX = '/^.{1,}$/';
1313

1414
/**
1515
* Validate that a username contains only the allowed characters and starts/ends

0 commit comments

Comments
 (0)