]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
No such path 'index', so redirect to home timeline
authorEvan Prodromou <evan@status.net>
Wed, 21 Sep 2011 20:33:10 +0000 (16:33 -0400)
committerEvan Prodromou <evan@status.net>
Wed, 21 Sep 2011 20:33:10 +0000 (16:33 -0400)
actions/login.php

index 3523912968ae3f51108043c3a665fcd2276319e8..f8a1a5c6a3ef19be79942f91fe87f1537cff7aed 100644 (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 {