mirror of
https://github.com/fastogt/fastocloud_admin.git
synced 2025-03-09 23:38:52 +00:00
Review
This commit is contained in:
parent
47a48409ab
commit
16d70b566a
1 changed files with 3 additions and 1 deletions
|
@ -9,7 +9,9 @@ def import_resellers_to_server(db, server: ServiceSettings):
|
|||
sql_providers = cursor.fetchall()
|
||||
|
||||
for sql_entry in sql_providers:
|
||||
new_user = ProviderUser.make_provider(email=sql_entry['email'], password=sql_entry['email'], country='US')
|
||||
email = sql_entry['email']
|
||||
password = sql_entry['email']
|
||||
new_user = ProviderUser.make_provider(email=email, password=password, country='US')
|
||||
new_user.status = ProviderUser.Status.ACTIVE
|
||||
new_user.save()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue