Software /
code /
prosody-modules
Changeset
5648: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 (16 months ago) |
parents | 5647:ef0a283507c9 |
children | 5649:f889ff779571 |
files | mod_http_oauth2/html/login.html |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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>