diff options
Diffstat (limited to 'actions')
-rw-r--r-- | actions/login.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/login.php b/actions/login.php index aa25a0cec..f183c1cd4 100644 --- a/actions/login.php +++ b/actions/login.php @@ -39,7 +39,7 @@ class LoginAction extends Action { function check_login() { # XXX: form token in $_SESSION to prevent XSS # XXX: login throttle - $nickname = $this->arg('nickname'); + $nickname = common_canonical_nickname($this->trimmed('nickname')); $password = $this->arg('password'); if (common_check_user($nickname, $password)) { # success! |