#194 fix password when importing users via csv

This commit is contained in:
Oskar Hahn 2012-07-12 14:37:01 +02:00
parent cea2bbbf7d
commit e80b04504f

View File

@ -478,6 +478,7 @@ def user_import(request):
profile.comment = comment profile.comment = comment
profile.firstpassword = gen_password() profile.firstpassword = gen_password()
profile.user.set_password(profile.firstpassword) profile.user.set_password(profile.firstpassword)
profile.user.save()
profile.save() profile.save()
if type == 'delegate': if type == 'delegate':