summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/login.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-10-08 06:35:38 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-10-08 06:35:38 -0700
commit6f315ad89c06431b408fcdf24393ad13daed845d (patch)
tree6d22200dc3eb156599c11872301c9144b36ae20f /modules/gallery/controllers/login.php
parent052491e258ec72746839298a545fecad18a947a0 (diff)
Part of the previous commit, forgot to save... again
Diffstat (limited to 'modules/gallery/controllers/login.php')
-rw-r--r--modules/gallery/controllers/login.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/controllers/login.php b/modules/gallery/controllers/login.php
index 2c4bd557..85f6db5d 100644
--- a/modules/gallery/controllers/login.php
+++ b/modules/gallery/controllers/login.php
@@ -21,6 +21,7 @@ class Login_Controller extends Controller {
public function ajax() {
$view = new View("login_ajax.html");
+ $view->writable = user::is_writable();
$view->form = user::get_login_form("login/auth_ajax");
print $view;
}