1
0
Fork 0
mirror of https://github.com/fastogt/fastocloud_admin.git synced 2025-03-09 23:38:52 +00:00
This commit is contained in:
topilski 2020-02-17 03:13:55 -05:00
parent c21feb1de0
commit 03bf3524a4

View file

@ -22,7 +22,7 @@ if __name__ == '__main__':
email = argv.email
password = argv.password
connect(mongodb_uri=argv.mongo_uri)
connect(mongodb_uri=argv.mongo_uri, alias='default')
new_user = ProviderAdminUser.make_provider(email=email.lower(), password=password, country=argv.country,
language=argv.language)
new_user.status = ProviderAdminUser.Status.ACTIVE