diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-05-10 19:57:58 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-05-10 19:57:58 +0000 |
commit | afa4a8acca1f20bd853564f7c1ffd6dfb7add2fe (patch) | |
tree | 713ab066d89fa9704cb59853891415e2e5a78879 | |
parent | 8ba9480819e55b29c3f9ccca786ec690e911ae6c (diff) |
After ajax login, just reload the current page.
-rw-r--r-- | modules/user/controllers/login.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/user/controllers/login.php b/modules/user/controllers/login.php index 635d9997..3972787e 100644 --- a/modules/user/controllers/login.php +++ b/modules/user/controllers/login.php @@ -29,8 +29,7 @@ class Login_Controller extends Controller { list ($valid, $form) = $this->_auth("login/auth_ajax"); if ($valid) { print json_encode( - array("result" => "success", - "location" => url::site(""))); + array("result" => "success")); } else { print json_encode( array("result" => "error", |