Merge pull request #130 from kevgliss/createUser
Fixing issue where roles were not added correctly to user.
This commit is contained in:
commit
0f34440b64
|
@ -316,7 +316,7 @@ class CreateUser(Command):
|
|||
Option('-u', '--username', dest='username', required=True),
|
||||
Option('-e', '--email', dest='email', required=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):
|
||||
|
|
Loading…
Reference in New Issue