Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

notebook: add a hidden user field to the login form

Some browsers (e.g. Chrome) offer to save passwords only if an username
field is present, so add it for convenience, even if it is not needed.
  • Loading branch information...
commit 38f72046d91b97d182ce71f6696f8944b42f8c1e 1 parent 87e2f91
@pv authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  IPython/frontend/html/notebook/templates/login.html
1  IPython/frontend/html/notebook/templates/login.html
@@ -30,6 +30,7 @@
<div id="content_panel">
<form action="/login?next={{url_escape(next)}}" method="post">
+ <input type="text" name="name" value="" style="display: none;">
Password: <input type="password" name="password">
<input type="submit" value="Sign in" id="signin">
Please sign in to comment.
Something went wrong with that request. Please try again.