Merge pull request #3717 from thelounge/xpaw/fix-username
Undo username pattern
This commit is contained in:
commit
8b71e6a18e
@ -105,7 +105,6 @@
|
|||||||
ref="usernameInput"
|
ref="usernameInput"
|
||||||
class="input username"
|
class="input username"
|
||||||
name="username"
|
name="username"
|
||||||
pattern="[^\s:!@]+"
|
|
||||||
:value="defaults.username"
|
:value="defaults.username"
|
||||||
maxlength="100"
|
maxlength="100"
|
||||||
/>
|
/>
|
||||||
|
@ -75,7 +75,7 @@ Network.prototype.validate = function(client) {
|
|||||||
this.username = this.nick.replace(/[^a-zA-Z0-9]/g, "");
|
this.username = this.nick.replace(/[^a-zA-Z0-9]/g, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
this.username = cleanNick(this.username) || "thelounge";
|
this.username = cleanString(this.username) || "thelounge";
|
||||||
this.realname = cleanString(this.realname) || "The Lounge User";
|
this.realname = cleanString(this.realname) || "The Lounge User";
|
||||||
this.password = cleanString(this.password);
|
this.password = cleanString(this.password);
|
||||||
this.host = cleanString(this.host);
|
this.host = cleanString(this.host);
|
||||||
|
Loading…
Reference in New Issue
Block a user