From 642901f4ae75529ae5d271cc5b501b114a490d30 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 21 Sep 2011 16:33:10 -0400 Subject: [PATCH] No such path 'index', so redirect to home timeline --- actions/login.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { -- 2.39.5