Skip to content
Snippets Groups Projects
Commit 4e78d06e authored by Christian Dresen's avatar Christian Dresen
Browse files

[WarpPay] Fixed ldap sync

parent c842d2f8
No related branches found
No related tags found
No related merge requests found
......@@ -173,6 +173,6 @@ def sync_users():
u.pinCode = ldapuser.pinCode
u.save()
except ObjectDoesNotExist:
u = UserCredit(uid=user.uid, card_id=user.card_id, pinCode="", credit=0.0)
u = UserCredit(uid=ldapuser.uid, card_id=ldapuser.card_id, pinCode="", credit=0.0)
u.save()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment