Revision 52fc9c0c snf-pithos-app/pithos/api/util.py

b/snf-pithos-app/pithos/api/util.py
886 886
                        cookie_value = unquote(request.COOKIES.get(COOKIE_NAME, ''))
887 887
                        if cookie_value and '|' in cookie_value:
888 888
                            token = cookie_value.split('|', 1)[1]
889
                    get_user(request, IDENTITY_BASEURL, AUTHENTICATION_USERS, token)
889
                    get_user(request, AUTHENTICATION_URL, AUTHENTICATION_USERS, token)
890 890
                    if  getattr(request, 'user', None) is None:
891 891
                        raise Unauthorized('Access denied')
892 892
                

Also available in: Unified diff