Password Character Length Policy allows duplicate and invalid

Created on 8 September 2022, about 2 years ago
Updated 8 April 2024, 7 months ago

Problem/Motivation

When the user add a new policy and tries to configure the constraint setting, if the minimum length is already set and the user tries to set a maximum length that is lower than the minimum length it allows to save.

The same occurs when the user tries to set another minimum length constraint, and the opposite situation.

Steps to reproduce

Install the Password Character Length Policy extension;
Goes to the configuration page;
Add a new policy;
Click on "Configure Constraint Settings" to add a new password character length;
Add the constraints:
- Number of characters: 8, Opertion: minimum length
- Number of characters: 4, Opertion: minimum length
- Number of characters: 2, Opertion: maximum length

Proposed resolution

Creates a validation to verify if already exists another password character length constraint set.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Version

4.0

Component

Code

Created by

🇧🇷Brazil sophiavs

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024