diff mod_invites_register_web/html/register.html @ 4833:15cf32e666da

mod_invites_register_web: Add mod_password_policy checks for web registration
author Matthew Wild <mwild1@gmail.com>
date Wed, 22 Dec 2021 15:05:31 +0000
parents a2116f5a7c8f
children
line wrap: on
line diff
--- a/mod_invites_register_web/html/register.html	Wed Dec 22 14:48:46 2021 +0000
+++ b/mod_invites_register_web/html/register.html	Wed Dec 22 15:05:31 2021 +0000
@@ -69,7 +69,7 @@
 						<label for="password" class="col-md-4 col-lg-12 col-form-label">Password:</label>
 						<div class="col-md-8 col-lg-12">
 							<input type="password" name="password" class="form-control" aria-describedby="passwordHelp"
-							       autocomplete="new-password"
+							       autocomplete="new-password" required minlength="{password_policy.length}"
 							>
 							<small id="passwordHelp" class="form-text text-muted">Enter a secure password that you do not use anywhere else.</small>
 						</div>