providers/saml: fix CSRF errors with POST binding
This commit is contained in:
@ -125,6 +125,10 @@ class LoginBeginView(AccessRequiredView):
|
||||
)
|
||||
)
|
||||
|
||||
@method_decorator(csrf_exempt)
|
||||
def dispatch(self, *args, **kwargs):
|
||||
return super().dispatch(*args, **kwargs)
|
||||
|
||||
@method_decorator(csrf_exempt)
|
||||
def get(self, request: HttpRequest, application: str) -> HttpResponse:
|
||||
"""Handle REDIRECT bindings"""
|
||||
|
Reference in New Issue
Block a user