Mercurial > prosody-modules
diff mod_http_oauth2/html/login.html @ 5630:2a31ee81e816
mod_http_oauth2: Add autocomplete hint to username field
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 07 Aug 2023 22:52:14 +0200 |
parents | e86a1018cdb3 |
children | f889ff779571 |
line wrap: on
line diff
--- a/mod_http_oauth2/html/login.html Sun Aug 06 12:07:05 2023 +0200 +++ b/mod_http_oauth2/html/login.html Mon Aug 07 22:52:14 2023 +0200 @@ -20,7 +20,7 @@ <legend>Sign in</legend> <p>Sign in to your account to continue.</p> <form method="post"> - <input type="text" name="username" placeholder="Username" aria-label="Username" required {extra.username_hint~autofocus}{extra.username_hint& value="{extra.username_hint?}"} /><br/> + <input type="text" name="username" placeholder="Username" aria-label="Username" autocomplete="username" required {extra.username_hint~autofocus} {extra.username_hint&value="{extra.username_hint?}"} /><br/> <input type="password" name="password" placeholder="Password" aria-label="Password" autocomplete="current-password" required {extra.username_hint&autofocus} /><br /> <input type="submit" value="Sign in" /> </form>