Merge pull request #463 from PretendoNetwork/hotfix/password-length
Some checks failed
Build and Publish Docker Image / Build and Publish (amd64) (push) Has been cancelled
Build and Publish Docker Image / Build and Publish (arm64) (push) Has been cancelled

fix: password length for password managers ignoring passwordrules
This commit is contained in:
limes.pink
2026-09-08 22:47:20 +02:00
committed by GitHub
3 changed files with 18 additions and 0 deletions

View File

@@ -102,6 +102,8 @@ const {
v-model="newPassword"
name="new-password"
type="password"
minlength="6"
maxlength="16"
autocomplete="new-password"
passwordrules="minlength: 6; maxlength: 16; max-consecutive: 2; allowed: [-!-~];"
pattern="[-!-~]{6,16}"
@@ -115,6 +117,8 @@ const {
v-model="newPasswordConfirm"
name="new-password-confirm"
type="password"
minlength="6"
maxlength="16"
autocomplete="new-password"
passwordrules="minlength: 6; maxlength: 16; max-consecutive: 2; allowed: [-!-~];"
pattern="[-!-~]{6,16}"

View File

@@ -116,6 +116,8 @@ customSeoMeta({ subsection: 'account', title: 'Register' });
v-model="registerForm.password"
name="password"
type="password"
minlength="6"
maxlength="16"
autocomplete="new-password"
required
passwordrules="minlength: 6; maxlength: 16; max-consecutive: 2; allowed: [-!-~];"
@@ -129,8 +131,12 @@ customSeoMeta({ subsection: 'account', title: 'Register' });
v-model="registerForm.password_confirm"
name="password_confirm"
type="password"
minlength="6"
maxlength="16"
autocomplete="new-password"
required
passwordrules="minlength: 6; maxlength: 16; max-consecutive: 2; allowed: [-!-~];"
pattern="[-!-~]{6,16}"
>
</div>
<Captcha

View File

@@ -49,8 +49,12 @@ customSeoMeta({ subsection: 'account', title: 'Reset Password' });
id="password"
v-model="form.password"
type="password"
minlength="6"
maxlength="16"
required
name="password"
passwordrules="minlength: 6; maxlength: 16; max-consecutive: 2; allowed: [-!-~];"
pattern="[-!-~]{6,16}"
autocomplete="new-password"
>
</div>
@@ -61,7 +65,11 @@ customSeoMeta({ subsection: 'account', title: 'Reset Password' });
v-model="form.passwordConfirm"
name="password_confirm"
type="password"
minlength="6"
maxlength="16"
autocomplete="new-password"
passwordrules="minlength: 6; maxlength: 16; max-consecutive: 2; allowed: [-!-~];"
pattern="[-!-~]{6,16}"
required
>
</div>