From 47697fe90c3874a68164f75a8025b562bb2f1906 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emanuel=20Sch=C3=BCtze?= Date: Tue, 23 Jan 2018 10:29:11 +0100 Subject: [PATCH] Save default password with createopenslidesuser command. --- openslides/users/management/commands/createopenslidesuser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openslides/users/management/commands/createopenslidesuser.py b/openslides/users/management/commands/createopenslidesuser.py index 56419d524..da4b25b3a 100644 --- a/openslides/users/management/commands/createopenslidesuser.py +++ b/openslides/users/management/commands/createopenslidesuser.py @@ -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():