Allow every character to be present in a username.

Fix #207.
This commit is contained in:
Mattia 2022-04-30 12:37:36 +02:00
parent 8026eea9b5
commit 1795df619d
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class Username with _$Username {
return false; return false;
} }
return !RegExp('[^0-9a-zA-Z]').hasMatch(name); return true;
} }
/// Parses a username from a url. /// Parses a username from a url.