From f0922e030077c0b23e8ca43f18c92b02907784f0 Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Sun, 31 Jul 2016 12:28:10 +0200 Subject: [PATCH] Add secret as sensitive variables/post parameter for /auth --- cas_server/urls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cas_server/urls.py b/cas_server/urls.py index d4e691c..a9cac30 100644 --- a/cas_server/urls.py +++ b/cas_server/urls.py @@ -53,8 +53,8 @@ urlpatterns = [ url('^samlValidate$', views.SamlValidate.as_view(), name='samlValidate'), url( '^auth$', - sensitive_variables('password')( - sensitive_post_parameters('password')( + sensitive_variables('password', 'secret')( + sensitive_post_parameters('password', 'secret')( views.Auth.as_view() ) ),