Fix empty password bug in createuser command

This commit is contained in:
earthcomfy 2022-10-31 17:39:23 +03:00 committed by Christopher Charbonneau Wells
parent 9e1c21e7bd
commit eb8ed1bcd1
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ class Command(BaseCommand):
is_staff = options.get("is_staff")
user_data = {}
user_password = ""
user_password = options.get("password")
group = ""
verbose_field_name = self.username_field.verbose_name