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...
1 parent 87e2f91 commit 38f72046d91b97d182ce71f6696f8944b42f8c1e @pv committed Oct 20, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 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">

0 comments on commit 38f7204

Please sign in to comment.