diff --git a/authens/views.py b/authens/views.py index 0478861..b1c93e9 100644 --- a/authens/views.py +++ b/authens/views.py @@ -138,8 +138,8 @@ class LogoutView(auth_views.LogoutView): else: self.cas_connected = False - def get_next_page(self): - next_page = super().get_next_page() + def get_success_url(self): + next_page = super().get_success_url() if self.cas_connected: cas_client = get_cas_client(self.request)