adding another debug log

This commit is contained in:
kakwa 2015-06-24 21:22:34 +02:00
parent 965ad84b7a
commit 02c157b386
1 changed files with 5 additions and 0 deletions

View File

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