##// END OF EJS Templates
base: fix problem that in some view context we don't have matchdict.
marcink -
r4007:e35e4c77 default
parent child Browse files
Show More
@@ -466,7 +466,7 b' def get_auth_user(request):'
466
466
467 # make sure that we update permissions each time we call controller
467 # make sure that we update permissions each time we call controller
468 _auth_token = (request.GET.get('auth_token', '') or request.GET.get('api_key', ''))
468 _auth_token = (request.GET.get('auth_token', '') or request.GET.get('api_key', ''))
469 if not _auth_token:
469 if not _auth_token and request.matchdict:
470 url_auth_token = request.matchdict.get('_auth_token')
470 url_auth_token = request.matchdict.get('_auth_token')
471 _auth_token = url_auth_token
471 _auth_token = url_auth_token
472 if _auth_token:
472 if _auth_token:
General Comments 0
You need to be logged in to leave comments. Login now