mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-28 18:53:58 -04:00
If the userid/password combination, render the full page instead of just printing the form. Fixes ticket #980.
This commit is contained in:
@@ -50,7 +50,11 @@ class Login_Controller extends Controller {
|
||||
if ($valid) {
|
||||
url::redirect(item::root()->abs_url());
|
||||
} else {
|
||||
print $form;
|
||||
$view = new Theme_View("page.html", "other", "login");
|
||||
$view->page_title = t("Log in to Gallery");
|
||||
$view->content = new View("login_ajax.html");
|
||||
$view->content->form = $form;
|
||||
print $view;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user