1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-06-20 10:43:00 +02:00

adding another debug log

This commit is contained in:
kakwa 2015-06-24 21:22:34 +02:00
parent 965ad84b7a
commit 02c157b386

View File

@ -401,8 +401,13 @@ class LdapCherry(object):
raise cherrypy.HTTPRedirect("/signin") raise cherrypy.HTTPRedirect("/signin")
def _adduser(self, params): def _adduser(self, params):
cherrypy.log.error(
msg = "Add user form attributes: " + str(params),
severity = logging.DEBUG
)
params = self._parse_params(params) params = self._parse_params(params)
badd = {} badd = {}
for attr in self.attributes.get_attributes(): for attr in self.attributes.get_attributes():
if self.attributes.attributes[attr]['type'] == 'password': if self.attributes.attributes[attr]['type'] == 'password':
pwd1 = attr + '1' pwd1 = attr + '1'