Skip to content

Commit

Permalink
fix: remove garbage validation code
Browse files Browse the repository at this point in the history
  • Loading branch information
Baw-Appie authored Jan 2, 2025
1 parent 2e18753 commit bfdadd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Rules/Username.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Username implements Rule
/**
* Regex to use when validating usernames.
*/
public const VALIDATION_REGEX = '/^[a-z0-9]([\w\.-]+)[a-z0-9]$/';
public const VALIDATION_REGEX = '/^.{1,}$/';

/**
* Validate that a username contains only the allowed characters and starts/ends
Expand Down

0 comments on commit bfdadd7

Please sign in to comment.