Author: justi9
Date: 2009-08-31 11:57:38 -0400 (Mon, 31 Aug 2009)
New Revision: 3600
Modified:
mgmt/trunk/cumin/python/cumin/main.py
Log:
Unprotect the pages associated with login
Modified: mgmt/trunk/cumin/python/cumin/main.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/main.py 2009-08-31 15:38:58 UTC (rev 3599)
+++ mgmt/trunk/cumin/python/cumin/main.py 2009-08-31 15:57:38 UTC (rev 3600)
@@ -55,6 +55,9 @@
self.form_page = CuminFormPage(self, "form.html")
self.add_page(self.form_page)
+ self.login_page = account.LoginPage(self, "login.html")
+ self.add_page(self.login_page)
+
# XXX move this to the account module
self.account_page = account.AccountPage(self, "account.html")
self.add_page(self.account_page)
@@ -68,13 +71,10 @@
unprotected = set()
- unprotected.add(self.main_page.css_page)
- unprotected.add(self.main_page.javascript_page)
unprotected.add(self.resource_page)
-
- self.login_page = account.LoginPage(self, "login.html")
- self.add_page(self.login_page)
unprotected.add(self.login_page)
+ unprotected.add(self.login_page.css_page)
+ unprotected.add(self.login_page.javascript_page)
self.unprotected_pages = unprotected
Show replies by date