From 02c157b386a6c1b0af664bcc298996ee0b1827f9 Mon Sep 17 00:00:00 2001 From: kakwa Date: Wed, 24 Jun 2015 21:22:34 +0200 Subject: [PATCH] adding another debug log --- ldapcherry/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ldapcherry/__init__.py b/ldapcherry/__init__.py index 1a8ba27..515b7bb 100644 --- a/ldapcherry/__init__.py +++ b/ldapcherry/__init__.py @@ -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'