dont bind set_authmanager on registry reloading event, it's not necesary since the session manager itself is reinstatiated stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 14 Aug 2009 15:34:49 +0200
branchstable
changeset 2849 297a4b5c6ce4
parent 2848 9ecda5732d51
child 2850 92032ede5ae7
dont bind set_authmanager on registry reloading event, it's not necesary since the session manager itself is reinstatiated
web/application.py
--- a/web/application.py	Fri Aug 14 15:34:00 2009 +0200
+++ b/web/application.py	Fri Aug 14 15:34:49 2009 +0200
@@ -41,10 +41,6 @@
         if self.session_time:
             assert self.cleanup_session_time < self.session_time
             assert self.cleanup_anon_session_time < self.session_time
-        self.set_authmanager()
-        CW_EVENT_MANAGER.bind('after-registry-reload', self.set_authmanager)
-
-    def set_authmanager(self):
         self.authmanager = self.vreg['components'].select('authmanager')
 
     def clean_sessions(self):