You've already forked docker-ldap-change-password-web-ui
Parameters for password validation
This commit is contained in:
@ -24,12 +24,12 @@
|
||||
|
||||
<label for="new-password">New password</label>
|
||||
<input id="new-password" name="new-password" type="password"
|
||||
pattern=".{8,}" x-moz-errormessage="Password must be at least 8 characters long." required>
|
||||
pattern="{{.Pattern}}" x-moz-errormessage="{{.PatternInfo}}" required>
|
||||
|
||||
<label for="confirm-password">Confirm new password</label>
|
||||
<input id="confirm-password" name="confirm-password" type="password"
|
||||
pattern=".{8,}" x-moz-errormessage="Password must be at least 8 characters long." required>
|
||||
|
||||
pattern="{{.Pattern}}" x-moz-errormessage="{{.PatternInfo}}" required>
|
||||
<p>{{.PatternInfo}}</p>
|
||||
<button type="submit">Update password</button>
|
||||
</form>
|
||||
|
||||
|
Reference in New Issue
Block a user