# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1691441534 -7200
# Node ID 2a31ee81e8161e3842b8a0230dacda2ce8fa5c92
# Parent  ef0a283507c91ab3bb4028bdc4a9c24e30897629
mod_http_oauth2: Add autocomplete hint to username field

diff -r ef0a283507c9 -r 2a31ee81e816 mod_http_oauth2/html/login.html
--- 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>