Skip to content

Commit

Permalink
add ldap sync remove print
Browse files Browse the repository at this point in the history
  • Loading branch information
gaowei committed Dec 8, 2017
1 parent e1f51d7 commit fcf1144
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sql/views_ajax.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ def syncldapuser(request):
username = user_attr[username_field][0]
display = user_attr[display_field][0]
email = user_attr[email_field][0]
print(username)
already_user = users.objects.filter(username=username.decode()).filter(is_ldapuser=True)
if len(already_user) == 0:
u = users(username=username.decode(), display=display.decode(), email=email.decode(), is_ldapuser=True)
Expand Down

0 comments on commit fcf1144

Please sign in to comment.