diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Give the login inputs explicit field types
Diffstat (limited to 'custom/extensions/auth-file.lua')
-rw-r--r--custom/extensions/auth-file.lua2
1 file changed, 1 insertion, 1 deletion
diff --git a/custom/extensions/auth-file.lua b/custom/extensions/auth-file.lua
index 957bd49..cd0f338 100644
--- a/custom/extensions/auth-file.lua
+++ b/custom/extensions/auth-file.lua
@@ -499,7 +499,7 @@ function body()
html("'>")
html("<table>")
html("<tr><td><label for='username'>Username:</label></td><td>")
- html("<input id='username' name='username'")
+ html("<input id='username' name='username' type='text'")
html(" autocomplete='username' autofocus></td></tr>")
html("<tr><td><label for='password'>Password:</label></td><td>")
html("<input id='password' name='password' type='password'")