Commit 4ef496a9 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

dont bind set_authmanager on registry reloading event, it's not necesary since...

dont bind set_authmanager on registry reloading event, it's not necesary since the session manager itself is reinstatiated

--HG--
branch : stable
parent 9ecda5732d51
......@@ -41,10 +41,6 @@ class AbstractSessionManager(component.Component):
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):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment