From: Eric Helgeson Date: Thu, 19 Nov 2009 20:00:28 +0000 (-0500) Subject: Use the $user object nickname, as login name doesnt have to == nickname anymore with... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=26a86402cd694441ab7ffc1e090d22af0d30745d;p=quix0rs-gnu-social.git Use the $user object nickname, as login name doesnt have to == nickname anymore with plugins such as ldap/etc --- diff --git a/actions/login.php b/actions/login.php index 63955e3f59..cee29fd09e 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);