Commit 7fc6ae6c authored by glondu's avatar glondu

a n'a pas l'air de bien fonctionner...

darcs-hash:20070618101939-68412-4044a78a490feae1552a46910ea436d611f7f26d.gz
parent 24005388
......@@ -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:
......
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