diff options
Diffstat (limited to 'modules/gallery/controllers/login.php')
| -rw-r--r-- | modules/gallery/controllers/login.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/controllers/login.php b/modules/gallery/controllers/login.php index d7ab399f..62d33345 100644 --- a/modules/gallery/controllers/login.php +++ b/modules/gallery/controllers/login.php @@ -22,7 +22,7 @@ class Login_Controller extends Controller { public function ajax() { $view = new View("login_ajax.html"); $view->form = auth::get_login_form("login/auth_ajax"); - json::reply(array("form" => (string) $view)); + print $view; } public function auth_ajax() { @@ -34,7 +34,7 @@ class Login_Controller extends Controller { } else { $view = new View("login_ajax.html"); $view->form = $form; - json::reply(array("result" => "error", "form" => (string) $view)); + json::reply(array("result" => "error", "html" => (string)$view)); } } |
