No such path 'index', so redirect to home timeline

This commit is contained in:
Evan Prodromou 2011-09-21 16:33:10 -04:00
parent d594c83a5a
commit 642901f4ae

View File

@ -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 {