Skip to content

Commit

Permalink
- Removing duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
afabiani committed Jan 24, 2019
1 parent 90dac76 commit 7f82e24
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions geonode/proxy/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,6 @@ def proxy(request, url=None, response_callback=None,
if url.fragment != "":
locator += '#' + url.fragment

access_token = None
if request and 'access_token' in request.session:
access_token = request.session['access_token']

# White-Black Listing Hosts
if sec_chk_hosts and not settings.DEBUG:
site_url = urlsplit(settings.SITEURL)
Expand Down

0 comments on commit 7f82e24

Please sign in to comment.