Commit 642901f4 authored by Evan Prodromou's avatar Evan Prodromou

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

parent d594c83a
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment