Skip to content

Commit

Permalink
notebook: add a hidden user field to the login form
Browse files Browse the repository at this point in the history
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
pv committed Oct 20, 2011
1 parent 87e2f91 commit 38f7204
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions IPython/frontend/html/notebook/templates/login.html
Expand Up @@ -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">
</form>
Expand Down

0 comments on commit 38f7204

Please sign in to comment.