Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
Merge pull request #124 from postatum/106715232_get_logout
Browse files Browse the repository at this point in the history
Allow GET logout
  • Loading branch information
jstoiko committed Oct 27, 2015
2 parents 0a66d41 + 54b8bfc commit 36a0e77
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nefertari/authentication/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ class TicketAuthLogoutView(TicketAuthViewMixin, BaseView):
def create(self, *args, **kwargs):
return self.logout(*args, **kwargs)

@events.trigger_instead('logout')
def show(self, *args, **kwargs):
return self.logout(*args, **kwargs)


class TokenAuthViewMixin(object):
""" View for auth operations to use with
Expand Down

0 comments on commit 36a0e77

Please sign in to comment.