#194 fix password when importing users via csv
This commit is contained in:
parent
cea2bbbf7d
commit
e80b04504f
|
@ -478,6 +478,7 @@ def user_import(request):
|
|||
profile.comment = comment
|
||||
profile.firstpassword = gen_password()
|
||||
profile.user.set_password(profile.firstpassword)
|
||||
profile.user.save()
|
||||
profile.save()
|
||||
|
||||
if type == 'delegate':
|
||||
|
|
Loading…
Reference in New Issue