web/application.py
changeset 8311 76a44a0d7f4b
parent 8272 18893bb969d2
child 8312 6c2119509fac
--- a/web/application.py	Thu Mar 01 12:08:35 2012 +0100
+++ b/web/application.py	Thu Mar 15 17:42:31 2012 +0100
@@ -361,8 +361,6 @@
                     controller = self.vreg['controllers'].select(ctrlid, req,
                                                                  appli=self)
                 except NoSelectableObject:
-                    if ctrlid == 'login':
-                        raise Unauthorized(req._('log out first'))
                     raise Unauthorized(req._('not authorized'))
                 req.update_search_state()
                 result = controller.publish(rset=rset)