comparison 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
comparison
equal deleted inserted replaced
5629:ef0a283507c9 5630:2a31ee81e816
18 <main> 18 <main>
19 <fieldset> 19 <fieldset>
20 <legend>Sign in</legend> 20 <legend>Sign in</legend>
21 <p>Sign in to your account to continue.</p> 21 <p>Sign in to your account to continue.</p>
22 <form method="post"> 22 <form method="post">
23 <input type="text" name="username" placeholder="Username" aria-label="Username" required {extra.username_hint~autofocus}{extra.username_hint& value="{extra.username_hint?}"} /><br/> 23 <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/>
24 <input type="password" name="password" placeholder="Password" aria-label="Password" autocomplete="current-password" required {extra.username_hint&autofocus} /><br /> 24 <input type="password" name="password" placeholder="Password" aria-label="Password" autocomplete="current-password" required {extra.username_hint&autofocus} /><br />
25 <input type="submit" value="Sign in" /> 25 <input type="submit" value="Sign in" />
26 </form> 26 </form>
27 </fieldset> 27 </fieldset>
28 </main> 28 </main>