mirror of https://github.com/calzoneman/sync.git
Fix #356
This commit is contained in:
parent
c11d31e716
commit
e9fc3cfaca
|
@ -538,8 +538,7 @@ User.prototype.guestLogin = function (name) {
|
|||
self.socket.emit("login", {
|
||||
success: false,
|
||||
error: "Invalid username. Usernames must be 1-20 characters long and " +
|
||||
"consist only of characters a-z, A-Z, 0-9, -, _, and accented " +
|
||||
"letters."
|
||||
"consist only of characters a-z, A-Z, 0-9, -, or _."
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -72,7 +72,7 @@ html(lang="en")
|
|||
$("<p/>").addClass("text-danger")
|
||||
.attr("id", "usernameerror")
|
||||
.text("Username must consist of 1-20 characters a-Z, A-Z, 0-9 " +
|
||||
", -, _, and accented letters.")
|
||||
", -, or _.")
|
||||
.insertAfter($("#username"));
|
||||
return false;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue