Use the $user object nickname, as login name doesnt have to == nickname anymore with plugins such as ldap/etc

This commit is contained in:
Eric Helgeson 2009-11-19 15:00:28 -05:00
parent b96b5e9a07
commit 26a86402cd

View File

@ -164,7 +164,7 @@ class LoginAction extends Action
} else {
$url = common_local_url('all',
array('nickname' =>
$nickname));
$user->nickname));
}
common_redirect($url, 303);