mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Fix error in the apikey import task
This commit is contained in:
@@ -5,9 +5,6 @@ from sso.tasks import update_user_access
|
|||||||
|
|
||||||
@task()
|
@task()
|
||||||
def import_apikey(api_userid, api_key, user=None, force_cache=False):
|
def import_apikey(api_userid, api_key, user=None, force_cache=False):
|
||||||
|
|
||||||
log = import_apikey.get_logger()
|
|
||||||
l.info("Importing %s/%s" % (api_userid, api_key))
|
|
||||||
acc = import_eve_account(api_key, api_userid, force_cache=force_cache)
|
acc = import_eve_account(api_key, api_userid, force_cache=force_cache)
|
||||||
donecorps = []
|
donecorps = []
|
||||||
if acc and acc.api_status == API_STATUS_OK:
|
if acc and acc.api_status == API_STATUS_OK:
|
||||||
|
|||||||
Reference in New Issue
Block a user