Skip to content

Commit

Permalink
Use permanent token in redirect file
Browse files Browse the repository at this point in the history
  • Loading branch information
takluyver committed Dec 11, 2018
1 parent 270c0f9 commit 28e296f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebook/notebookapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -1718,7 +1718,7 @@ def write_browser_open_file(self):

def _write_browser_open_file(self, url, fh):
if self.token:
url = url_concat(url, {'token': self.one_time_token})
url = url_concat(url, {'token': self.token})
url = url_path_join(self.connection_url, url)

jinja2_env = self.web_app.settings['jinja2_env']
Expand Down

0 comments on commit 28e296f

Please sign in to comment.