mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Refreshing your API key on your profile now uses a ajax request.
This commit is contained in:
@@ -107,7 +107,6 @@ def eveapi_refresh(request, userid=0):
|
||||
import_eve_account(acc.api_key, acc.api_user_id, force_cache=True)
|
||||
request.user.get_profile().update_access()
|
||||
|
||||
print request.GET
|
||||
if request.is_ajax():
|
||||
acc = EVEAccount.objects.get(id=userid)
|
||||
return HttpResponse(serializers.serialize('json', [acc]), mimetype='application/javascript')
|
||||
|
||||
Reference in New Issue
Block a user