Corrected key validation

This commit is contained in:
Adarnof
2016-01-31 18:02:20 +00:00
parent 49d1b86566
commit c50595303b
3 changed files with 4 additions and 6 deletions

View File

@@ -395,7 +395,6 @@ def run_api_refresh():
api_key_pairs = EveManager.get_api_key_pairs(user.id)
logger.debug("User %s has api key pairs %s" % (user, api_key_pairs))
if api_key_pairs:
valid_key = False
authserviceinfo, c = AuthServicesInfo.objects.get_or_create(user=user)
logger.debug("User %s has api keys. Proceeding to refresh." % user)
for api_key_pair in api_key_pairs: