diff options
author | cedricbonhomme <devnull@localhost> | 2012-11-06 10:46:46 +0100 |
---|---|---|
committer | cedricbonhomme <devnull@localhost> | 2012-11-06 10:46:46 +0100 |
commit | 26d44b359549a06a9c0c07dab6e8d5b2c74a428a (patch) | |
tree | 429f007c04b006ea17ec83eeef94d09cdc8689c5 /source | |
parent | mark_as_read() always return to index page. (diff) | |
download | newspipe-26d44b359549a06a9c0c07dab6e8d5b2c74a428a.tar.gz newspipe-26d44b359549a06a9c0c07dab6e8d5b2c74a428a.tar.bz2 newspipe-26d44b359549a06a9c0c07dab6e8d5b2c74a428a.zip |
HTML username text input is now focused by default.
Diffstat (limited to 'source')
-rwxr-xr-x | source/auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/auth.py b/source/auth.py index 8dc2a0d1..5e3243f4 100755 --- a/source/auth.py +++ b/source/auth.py @@ -186,7 +186,7 @@ class AuthController(object): <form method="post" action="/auth/login"> <input type="hidden" name="from_page" value="%(from_page)s" /> %(msg)s<br /> - <input type="text" name="username" value="%(username)s" placeholder="Username" /><br /> + <input type="text" name="username" value="%(username)s" placeholder="Username" autofocus="autofocus" /><br /> <input type="password" name="password" placeholder="Password" /><br /> <input type="submit" value="Log in" /> </form> |