diff mod_password_reset/password_reset/password_reset.html @ 3354:7cede636b3d5

mod_password_reset: Improve password input field with additional relevant attributes
author Matthew Wild <mwild1@gmail.com>
date Tue, 09 Oct 2018 14:12:03 +0100
parents f7668aee968a
children 3bc68057f232
line wrap: on
line diff
--- a/mod_password_reset/password_reset/password_reset.html	Tue Oct 09 14:10:42 2018 +0100
+++ b/mod_password_reset/password_reset/password_reset.html	Tue Oct 09 14:12:03 2018 +0100
@@ -29,7 +29,12 @@
 					<div class="form-group" style="margin-right: 0px;">
 						<label for="password" class="col-sm-2 control-label">Password:</label>
 						<div class="input-group col-sm-10">
-							<input type="password" name="password" class="form-control" placeholder="password">
+							<input type="password" required autofocus
+								name="password"
+								class="form-control"
+								autocomplete="new-password"
+								placeholder="new password"
+							>
 						</div>
 					</div>
 					<input type="hidden" name="token" value="{token}">