From 827b717ae3f58f5bcb67bacb9f16d30c7ec28c1a Mon Sep 17 00:00:00 2001 From: Art Lukyanchyk <artiom.lukyanchyk@hs-hannover.de> Date: Thu, 22 Nov 2018 13:56:58 +0100 Subject: [PATCH] Fix the error code for the ACS view GET --- ssoauth/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssoauth/views.py b/ssoauth/views.py index 4d9553c..7ac8547 100644 --- a/ssoauth/views.py +++ b/ssoauth/views.py @@ -152,7 +152,7 @@ class ACSAuthNView(SAMLMixin, View): """ def get(self, *args, **kwargs): - raise http.Http404() + return http.HttpResponse(status=405) def post(self, request, *args, **kwargs): auth = self.get_onelogin_auth(request) -- GitLab