trim excess whitespace from usernames

pull/1/head
ansuz 8 years ago
parent 89e5830409
commit 2f9f3d921a

@ -293,7 +293,7 @@ define([
$username.focus();
$login.click(function () {
var uname = $username.val();
var uname = $username.val().trim();
var passwd = $password.val();
var confirm = $confirm.val();
var remember = $remember[0].checked;

Loading…
Cancel
Save