mirror of https://github.com/snachodog/mybuddy.git
Fix empty password bug in createuser command
This commit is contained in:
parent
9e1c21e7bd
commit
eb8ed1bcd1
|
@ -71,7 +71,7 @@ class Command(BaseCommand):
|
||||||
is_staff = options.get("is_staff")
|
is_staff = options.get("is_staff")
|
||||||
|
|
||||||
user_data = {}
|
user_data = {}
|
||||||
user_password = ""
|
user_password = options.get("password")
|
||||||
group = ""
|
group = ""
|
||||||
verbose_field_name = self.username_field.verbose_name
|
verbose_field_name = self.username_field.verbose_name
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue