Accept dashes and spaces in names
Change-Id: Ie3729175c1f739bb0be4402e9be1e2a1921da752
diff --git a/templates/strings.php b/templates/strings.php
index 2bf82f9..405e353 100644
--- a/templates/strings.php
+++ b/templates/strings.php
@@ -9,7 +9,7 @@
$USERNAME_VALIDATION_ERROR = (object)[
"registered" => "This username is already in use! Please choose another username<br>",
- "no_whitespaces" => "Username cannot contain whitespaces<br>",
+ "no_whitespaces" => "Username cannot start with whitespaces<br>",
"smaller_than" => "Username must have less than {{num}} characters<br>",
"bigger_than" => "Username must be bigger than {{num}} characters<br>",
"no_special_chars" => "The username cannot contain special characters<br>",