Skip to content

Commit

Permalink
don't include token in dashboard link, when available (#1406)
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk authored Mar 14, 2024
1 parent 0adfb2a commit da948f0
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 da948f0

Please sign in to comment.