trim excess whitespace from usernames

pull/1/head
ansuz 2016-12-28 17:13:41 +01:00
parent 89e5830409
commit 2f9f3d921a
1 changed files with 1 additions and 1 deletions

View File

@ -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;