From 6e698fbdde0e14d6420d51b697372c5a13ca6d8b Mon Sep 17 00:00:00 2001 From: Florian Knappers <73856313+JJFlorian@users.noreply.github.com> Date: Fri, 5 Apr 2024 16:38:32 +0200 Subject: [PATCH] docstring update --- brostar_api/authentication.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/brostar_api/authentication.py b/brostar_api/authentication.py index b5c2ab6..867d5bf 100644 --- a/brostar_api/authentication.py +++ b/brostar_api/authentication.py @@ -3,7 +3,5 @@ class CustomSessionAuthentication(SessionAuthentication): def enforce_csrf(self, request): - """The default SessionAuthentication class includes CSRF protection; this - module contains a version that doesn't. - """ + """Added to bypass the csrf requirement on POST requests""" return