Skip to content

Commit

Permalink
don't include token in dashboard link
Browse files Browse the repository at this point in the history
this was added to make transferrable login more convenient long ago,
but persisting passwords are the way to go these days.
  • Loading branch information
minrk committed Mar 14, 2024
1 parent f26c1a0 commit 0f67061
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jupyter_server/templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@

<div id="header" role="navigation" aria-label="{% trans %}Top Menu{% endtrans %}">
<div id="header-container" class="container">
<div id="jupyter_server" class="nav navbar-brand"><a href="{{default_url}}
{%- if logged_in and token -%}?token={{token}}{%- endif -%}" title='{% trans %}dashboard{% endtrans %}'>
<div id="jupyter_server" class="nav navbar-brand"><a href="{{default_url}}" title='{% trans %}dashboard{% endtrans %}'>
{% block logo %}<img src='{{static_url("logo/logo.png") }}' alt='Jupyter Server' />{% endblock %}
</a></div>

Expand Down

0 comments on commit 0f67061

Please sign in to comment.