| changeset 589 | 0ae11aa255a3 |
| parent 588 | 95536fa18d0d |
| child 665 | 69d13e7dd286 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/server/python/django2/renkanmanager/auth.py Tue Feb 02 16:21:20 2016 +0100 @@ -0,0 +1,10 @@ +from rest_framework.authentication import SessionAuthentication + +class CsrfExemptSessionAuthentication(SessionAuthentication): + """ + Session authentication class to use with Renkan client, as it does not provide a csrf token + """ + + + def enforce_csrf(self, request): + return \ No newline at end of file