summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEric Helgeson <erichelgeson@gmail.com>2009-11-19 15:00:28 -0500
committerEric Helgeson <erichelgeson@gmail.com>2009-11-19 15:00:28 -0500
commit26a86402cd694441ab7ffc1e090d22af0d30745d (patch)
treee9405c097f81cf903566fef0e1e92bc623fb2b1d /actions
parentb96b5e9a07972d4abc17e733c584fb2276672d27 (diff)
Use the $user object nickname, as login name doesnt have to == nickname anymore with plugins such as ldap/etc
Diffstat (limited to 'actions')
-rw-r--r--actions/login.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/login.php b/actions/login.php
index 63955e3f5..cee29fd09 100644
--- a/actions/login.php
+++ b/actions/login.php
@@ -164,7 +164,7 @@ class LoginAction extends Action
} else {
$url = common_local_url('all',
array('nickname' =>
- $nickname));
+ $user->nickname));
}
common_redirect($url, 303);