[Mpuls-commits] r1447 - wasko/branches/2.0/mpulsweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Feb 10 11:22:00 CET 2010


Author: torsten
Date: 2010-02-10 11:21:58 +0100 (Wed, 10 Feb 2010)
New Revision: 1447

Modified:
   wasko/branches/2.0/mpulsweb/lib/base.py
Log:
* mpulsweb/lib/base.py (BaseController.__before__): Call
auth/accountDeactivated when account ist deactivated.


Modified: wasko/branches/2.0/mpulsweb/lib/base.py
===================================================================
--- wasko/branches/2.0/mpulsweb/lib/base.py	2010-02-10 10:19:31 UTC (rev 1446)
+++ wasko/branches/2.0/mpulsweb/lib/base.py	2010-02-10 10:21:58 UTC (rev 1447)
@@ -101,9 +101,9 @@
             # Is the user activated?
             if (not user.isActivated()
                 and not request.path_info in
-                ('/administration/accountDeactivated', '/styles/web.css',
+                ('/auth/accountDeactivated', '/styles/web.css',
                  '/styles/all.css')):
-                redirect_to(controller="administration",
+                redirect_to(controller="/auth",
                             action="accountDeactivated")
 
             # Do the user needs to change his passwort?



More information about the Mpuls-commits mailing list