summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/login.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/login.php b/actions/login.php
index ad57dd667..63955e3f5 100644
--- a/actions/login.php
+++ b/actions/login.php
@@ -133,7 +133,7 @@ class LoginAction extends Action
return;
}
- $nickname = common_canonical_nickname($this->trimmed('nickname'));
+ $nickname = $this->trimmed('nickname');
$password = $this->arg('password');
$user = common_check_user($nickname, $password);
@@ -146,7 +146,7 @@ class LoginAction extends Action
// success!
if (!common_set_user($user)) {
- $this->serverError(_('Error setting user.'));
+ $this->serverError(_('Error setting user. You are probably not authorized.'));
return;
}