Show More
@@ -110,6 +110,7 def authfunc(environ, username, password | |||||
110 | user_obj = user_model.get_by_username(username, cache=False, |
|
110 | user_obj = user_model.get_by_username(username, cache=False, | |
111 | case_insensitive=True) |
|
111 | case_insensitive=True) | |
112 | if user_obj is not None and user_obj.is_ldap is False: |
|
112 | if user_obj is not None and user_obj.is_ldap is False: | |
|
113 | log.debug('this user already exists as non ldap') | |||
113 | return False |
|
114 | return False | |
114 |
|
115 | |||
115 | from rhodecode.model.settings import SettingsModel |
|
116 | from rhodecode.model.settings import SettingsModel |
General Comments 0
You need to be logged in to leave comments.
Login now