Skip to content

Commit

Permalink
Merge pull request #40 from nens/docstring
Browse files Browse the repository at this point in the history
docstring update
  • Loading branch information
JJFlorian authored Apr 5, 2024
2 parents 46b1eab + 6e698fb commit a39fe41
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions brostar_api/authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a39fe41

Please sign in to comment.