diff --git a/actions/login.php b/actions/login.php index 3523912968..f8a1a5c6a3 100644 --- a/actions/login.php +++ b/actions/login.php @@ -94,7 +94,8 @@ class LoginAction extends Action parent::handle($args); if (common_is_real_login()) { - common_redirect(common_local_url('index')); + $user = common_current_user(); + common_redirect(common_local_url('all', array('nickname' => $user->nickname)), 307); } else if ($_SERVER['REQUEST_METHOD'] == 'POST') { $this->checkLogin(); } else {