update token info on login page

- clarify that it does *not* mean password is disabled
- phrasing
- https links
This commit is contained in:
Min RK 2017-03-08 09:34:20 -08:00
parent 018db6c8ce
commit ee82acd66a

View File

@ -47,15 +47,15 @@
{% block token_message %} {% block token_message %}
<div class="col-sm-6 col-sm-offset-3 text-left rendered_html"> <div class="col-sm-6 col-sm-offset-3 text-left rendered_html">
<h3> <h3>
No password configured yet: Token authentication is enabled. Token authentication is enabled
</h3> </h3>
<p> <p>
No password have been configured yet, you need to open the notebook If no password has been configured, you need to open the notebook
server with its first-time login token in the URL. Theis requirement server with its login token in the URL, or paste it above.
will be lifted once you <b>enable a password</b> in order to gain This requirement will be lifted if you
access. <b><a href='https://jupyter-notebook.readthedocs.io/en/stable/public_server.html'>
enable a password</a></b>.
</p> </p>
<p> <p>
The command: The command:
<pre>jupyter notebook list</pre> <pre>jupyter notebook list</pre>
@ -66,23 +66,22 @@
http://localhost:8888/?token=c8de56fa... :: /Users/you/notebooks http://localhost:8888/?token=c8de56fa... :: /Users/you/notebooks
</pre> </pre>
<p> <p>
Or you can paste just the token value into the password field on this or you can paste just the token value into the password field on this
page. page.
</p> </p>
<p>
See
<b><a
href='https://jupyter-notebook.readthedocs.io/en/stable/public_server.html'>
the documentation on how to enable a password</a>
</b>
in place of token authentication,
if you would like to avoid dealing with random tokens.
</p>
<p> <p>
Cookies are required for authenticated access to notebooks. Cookies are required for authenticated access to notebooks.
</p> </p>
<p>
Authentication using tokens is enabled for your security as no password
has been set yet.
<b><a
href='http://jupyter-notebook.readthedocs.io/en/stable/public_server.html'>
See the documentation on how to enable password
</a></b>
and lift random token authentication.
<p/>
</div> </div>
{% endblock token_message %} {% endblock token_message %}
{% endif %} {% endif %}