Use the $user object nickname, as login name doesnt have to == nickname anymore with plugins such as ldap/etc
This commit is contained in:
parent
b96b5e9a07
commit
26a86402cd
@ -164,7 +164,7 @@ class LoginAction extends Action
|
|||||||
} else {
|
} else {
|
||||||
$url = common_local_url('all',
|
$url = common_local_url('all',
|
||||||
array('nickname' =>
|
array('nickname' =>
|
||||||
$nickname));
|
$user->nickname));
|
||||||
}
|
}
|
||||||
|
|
||||||
common_redirect($url, 303);
|
common_redirect($url, 303);
|
||||||
|
Loading…
Reference in New Issue
Block a user