Save default password with createopenslidesuser command.
This commit is contained in:
parent
172581d557
commit
47697fe90c
@ -35,6 +35,7 @@ class Command(BaseCommand):
|
||||
user_data = {
|
||||
'first_name': options['first_name'],
|
||||
'last_name': options['last_name'],
|
||||
'default_password': options['password'],
|
||||
}
|
||||
user = User.objects.create_user(options['username'], options['password'], **user_data)
|
||||
if options['groups_id'].isdigit():
|
||||
|
Loading…
Reference in New Issue
Block a user