mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Refresh API now flushes the cache as well
This commit is contained in:
@@ -128,7 +128,7 @@ def eveapi_refresh(request, userid=0):
|
||||
except EVEAccount.DoesNotExist:
|
||||
pass
|
||||
else:
|
||||
import_eve_account(acc.api_key, acc.api_user_id)
|
||||
import_eve_account(acc.api_key, acc.api_user_id, force_cache=True)
|
||||
request.user.get_profile().update_access()
|
||||
request.user.message_set.create(message="Key %s has been refreshed from the EVE API." % acc.api_user_id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user