Fixing issuer where roles were not added correctly to user.
This commit is contained in:
parent
4b968a9474
commit
0453afcb0e
|
@ -316,7 +316,7 @@ class CreateUser(Command):
|
||||||
Option('-u', '--username', dest='username', required=True),
|
Option('-u', '--username', dest='username', required=True),
|
||||||
Option('-e', '--email', dest='email', required=True),
|
Option('-e', '--email', dest='email', required=True),
|
||||||
Option('-a', '--active', dest='active', default=True),
|
Option('-a', '--active', dest='active', default=True),
|
||||||
Option('-r', '--roles', dest='roles', default=[])
|
Option('-r', '--roles', dest='roles', action='append', default=[])
|
||||||
)
|
)
|
||||||
|
|
||||||
def run(self, username, email, active, roles):
|
def run(self, username, email, active, roles):
|
||||||
|
|
Loading…
Reference in New Issue