Skip to content

Commit

Permalink
fix logout
Browse files Browse the repository at this point in the history
  • Loading branch information
py3-dev committed Aug 8, 2024
1 parent 4fb9f5c commit cbf8516
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/apps/hub/api/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@ class CustomLoginView(LoginView):

class CustomLogoutView(LogoutView):
next_page = '/'
def get(self, request, *args, **kwargs):
return self.post(request, *args, **kwargs)

def ping(request):
import json
Expand Down

0 comments on commit cbf8516

Please sign in to comment.