This commit is contained in:
calzoneman 2014-04-30 19:36:01 -05:00
parent c11d31e716
commit e9fc3cfaca
2 changed files with 2 additions and 3 deletions

View File

@ -538,8 +538,7 @@ User.prototype.guestLogin = function (name) {
self.socket.emit("login", { self.socket.emit("login", {
success: false, success: false,
error: "Invalid username. Usernames must be 1-20 characters long and " + error: "Invalid username. Usernames must be 1-20 characters long and " +
"consist only of characters a-z, A-Z, 0-9, -, _, and accented " + "consist only of characters a-z, A-Z, 0-9, -, or _."
"letters."
}); });
return; return;
} }

View File

@ -72,7 +72,7 @@ html(lang="en")
$("<p/>").addClass("text-danger") $("<p/>").addClass("text-danger")
.attr("id", "usernameerror") .attr("id", "usernameerror")
.text("Username must consist of 1-20 characters a-Z, A-Z, 0-9 " + .text("Username must consist of 1-20 characters a-Z, A-Z, 0-9 " +
", -, _, and accented letters.") ", -, or _.")
.insertAfter($("#username")); .insertAfter($("#username"));
return false; return false;
} else { } else {