Fixes overwriting of expires=0000-00-00 in copy hash script

This commit is contained in:
nikolark committed 2015-04-14 22:01:30 +02:00
1 parent c53918511c
commit e9bdb26267
1 file changed
+1 -1
@@ -15,4 +15,4 @@ class Command(BaseCommand):
ldap_password = ldap_user_passwords.get(u.ldap_username)
if ldap_password is not None:
u.ldap_password = ldap_password
u.save()
u.save(update_fields=['ldap_password'])