1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Finished work on secrets views; removed path from cookie assignment

This commit is contained in:
Jeremy Stretch
2017-03-21 15:30:36 -04:00
parent 5c4741c5d4
commit 6d30fdb83d
3 changed files with 28 additions and 19 deletions

View File

@@ -149,7 +149,7 @@ class SessionKeyDeleteView(LoginRequiredMixin, View):
# Delete cookie
response = redirect('user:userkey')
response.delete_cookie('session_key', path=reverse('secrets-api:secret-list'))
response.delete_cookie('session_key')
return response