Skip to content

Make password validation configurable #4775

Closed
@Django149

Description

@Django149

Right now, when creating a new user, the validate_password function is always called and enforces hardcoded rules for length, uppercase/lowercase letters, digits, and special characters.

It would be great to make this configurable, so people can adjust the password policy to fit their needs. This could be done in a simple way, like an ENABLE_PASSWORD_VALIDATION flag, or in a more flexible way, like a PASSWORD_POLICY config.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions