No such path 'index', so redirect to home timeline
This commit is contained in:
parent
d594c83a5a
commit
642901f4ae
@ -94,7 +94,8 @@ class LoginAction extends Action
|
|||||||
parent::handle($args);
|
parent::handle($args);
|
||||||
|
|
||||||
if (common_is_real_login()) {
|
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') {
|
} else if ($_SERVER['REQUEST_METHOD'] == 'POST') {
|
||||||
$this->checkLogin();
|
$this->checkLogin();
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user