From a712f2e786fb095c0cdcf77539b2d28c287d182b Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Thu, 24 Jul 2014 11:38:20 -0400 Subject: [PATCH] Exclude the API urls from forced session based authentication We now have token based authentication support too --- mayan/settings/base.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mayan/settings/base.py b/mayan/settings/base.py index 9fcedb67d0..92c28bcec1 100644 --- a/mayan/settings/base.py +++ b/mayan/settings/base.py @@ -236,6 +236,8 @@ LOGIN_EXEMPT_URLS = ( r'^password/reset/confirm/(?P[0-9A-Za-z]+)-(?P.+)/$', r'^password/reset/complete/$', r'^password/reset/done/$', + + r'^api/', ) # --------- Pagination ---------------- PAGINATION_INVALID_PAGE_RAISES_404 = True