Skip to content

Commit 2abfb84

Browse files
Permit a larger number of special characters in passwords
1 parent de34cec commit 2abfb84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/authentication/register.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<div class="mb-3">
2424
<label for="password" class="form-label">Password</label>
2525
<input type="password" class="form-control" id="password" name="password"
26-
pattern="(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}"
26+
pattern="(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[@$!%*?&\{\}\<\>\.\,\\\\'#\-_=\+\(\)\[\]:;\|~])[A-Za-z\d@$!%*?&\{\}\<\>\.\,\\\\'#\-_=\+\(\)\[\]:;\|~]{8,}"
2727
title="Must contain at least one number, one uppercase and lowercase letter, one special character, and at least 8 or more characters"
2828
placeholder="Enter your password" required>
2929
<div class="invalid-feedback">

0 commit comments

Comments
 (0)