From 7cf000262d56024b9f3be139783836e857874362 Mon Sep 17 00:00:00 2001 From: ibuler Date: Thu, 19 Mar 2020 11:11:18 +0800 Subject: [PATCH] =?UTF-8?q?[Update]=20django=20cas=20ng=20=E9=80=80?= =?UTF-8?q?=E5=87=BA=E9=80=BB=E8=BE=91=E6=9C=89=E9=97=AE=E9=A2=98=EF=BC=8C?= =?UTF-8?q?=E6=9A=82=E6=97=B6=E5=B1=8F=E8=94=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/authentication/views/login.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/authentication/views/login.py b/apps/authentication/views/login.py index 8310b4c8b..c51ccbfc6 100644 --- a/apps/authentication/views/login.py +++ b/apps/authentication/views/login.py @@ -185,8 +185,8 @@ class UserLogoutView(TemplateView): @staticmethod def get_backend_logout_url(): - if settings.AUTH_CAS: - return settings.CAS_LOGOUT_URL_NAME + # if settings.AUTH_CAS: + # return settings.CAS_LOGOUT_URL_NAME return None def get(self, request, *args, **kwargs):