From 7fc6ae6c7099eef9dde019a5f4481274d1c0da3f Mon Sep 17 00:00:00 2001 From: glondu Date: Mon, 18 Jun 2007 12:19:39 +0200 Subject: [PATCH] a n'a pas l'air de bien fonctionner... darcs-hash:20070618101939-68412-4044a78a490feae1552a46910ea436d611f7f26d.gz --- intranet/Root.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/intranet/Root.py b/intranet/Root.py index b215e3c0..e65372b4 100755 --- a/intranet/Root.py +++ b/intranet/Root.py @@ -106,11 +106,6 @@ from ClassesIntranet.Intranet import Intranet # GESTION DES FILTRES Intranet._cpFilterList = [TemplatesFilter(), DOMFilter(), AuthorisationsFilter()] -def ldap_connect(thread_index): - cherrypy.thread_data.ldap = CransLdap() - -cherrypy.server.on_start_thread_list.append(ldap_connect) - # ######################################################## # # LOGIN MAISON # # ######################################################## # @@ -133,7 +128,7 @@ def verifLogin(login = '', password = ''): message = None try: if login != '' and password != '': - cherrypy.session['LDAP'] = cherrypy.thread_data.ldap + cherrypy.session['LDAP'] = CransLdap() LDAP = cherrypy.session['LDAP'] login_club = None if len(login.split('@')) > 1: