changeset 749:fcd4fb51526e beta

added debug message for ldap auth
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 24 Nov 2010 03:32:53 +0100
parents 88338675a0f7
children 73c99f45ef2a
files rhodecode/lib/auth.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/lib/auth.py	Wed Nov 24 03:31:33 2010 +0100
+++ b/rhodecode/lib/auth.py	Wed Nov 24 03:32:53 2010 +0100
@@ -110,6 +110,7 @@
         user_obj = user_model.get_by_username(username, cache=False,
                                             case_insensitive=True)
         if user_obj is not None and user_obj.is_ldap is False:
+            log.debug('this user already exists as non ldap')
             return False
 
         from rhodecode.model.settings import SettingsModel