a n'a pas l'air de bien fonctionner...
darcs-hash:20070618101939-68412-4044a78a490feae1552a46910ea436d611f7f26d.gz
This commit is contained in:
parent
24005388a5
commit
7fc6ae6c70
1 changed files with 1 additions and 6 deletions
|
@ -106,11 +106,6 @@ from ClassesIntranet.Intranet import Intranet
|
||||||
# GESTION DES FILTRES
|
# GESTION DES FILTRES
|
||||||
Intranet._cpFilterList = [TemplatesFilter(), DOMFilter(), AuthorisationsFilter()]
|
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 #
|
# LOGIN MAISON #
|
||||||
# ######################################################## #
|
# ######################################################## #
|
||||||
|
@ -133,7 +128,7 @@ def verifLogin(login = '', password = ''):
|
||||||
message = None
|
message = None
|
||||||
try:
|
try:
|
||||||
if login != '' and password != '':
|
if login != '' and password != '':
|
||||||
cherrypy.session['LDAP'] = cherrypy.thread_data.ldap
|
cherrypy.session['LDAP'] = CransLdap()
|
||||||
LDAP = cherrypy.session['LDAP']
|
LDAP = cherrypy.session['LDAP']
|
||||||
login_club = None
|
login_club = None
|
||||||
if len(login.split('@')) > 1:
|
if len(login.split('@')) > 1:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue