aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2012-11-06 10:46:46 +0100
committercedricbonhomme <devnull@localhost>2012-11-06 10:46:46 +0100
commit26d44b359549a06a9c0c07dab6e8d5b2c74a428a (patch)
tree429f007c04b006ea17ec83eeef94d09cdc8689c5 /source
parentmark_as_read() always return to index page. (diff)
downloadnewspipe-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-xsource/auth.py2
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>
bgstack15