mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-09 21:19:11 -04:00
After ajax login, just reload the current page.
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user