Pass request object to the gargoyle check

This commit is contained in:
2011-09-02 08:13:13 +01:00
parent 88aeb93933
commit a3d571ccd6

View File

@@ -97,7 +97,7 @@ def eveapi_update(request, userid, post_save_redirect='/', template='eve_api/upd
def eveapi_del(request, userid, post_save_redirect='/'):
""" Delete a EVE API key from a account """
if gargoyle.is_active('eve-keydelete'):
if gargoyle.is_active('eve-keydelete', request):
try:
acc = EVEAccount.objects.get(pk=userid)
except EVEAccount.DoesNotExist: