Commit 4e7b6e73 authored by Mario Chirinos's avatar Mario Chirinos

login

parent 1bd9bc8b
......@@ -20,7 +20,7 @@ class AuthRequiredMiddleware(object):
if "/catalog/streaming/" in request.path_info:
return response
if request.path_info == reverse('api-download-news') or reverse('ws-news-list2') or request.path_info == reverse('signup'):
if request.path_info == reverse('ws-news-list2') or request.path_info == reverse('signup'):
return response
if not request.user.is_authenticated and request.path_info != reverse('login'):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment