Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate password based on (Constance) settings in Django Admin #4533

Merged

Conversation

noliveleger
Copy link
Contributor

@noliveleger noliveleger commented Jul 7, 2023

Description

Add the possibility to toggle password validators from Constance menu in admin interface.

  • minimum length
  • common passwords
  • user's attributes
  • custom character rules (by default at least one lowercase letter, one uppercase letter, one digit, one special character)

Related issues

Part of #4475
Closes #4463
Closes #4464
Closes #4465
Closes #4466

@noliveleger noliveleger self-assigned this Jul 7, 2023
@noliveleger noliveleger added API Changes related to API endpoints Back end labels Jul 7, 2023
@noliveleger noliveleger marked this pull request as ready for review July 7, 2023 18:31
@noliveleger noliveleger changed the title WIP - 4462 password validation classes Validate password based on (Constance) settings in Django Admin Jul 7, 2023
hub/models.py Outdated Show resolved Hide resolved
kobo/apps/accounts/forms.py Show resolved Hide resolved
@noliveleger noliveleger merged commit c89f067 into 4462-configure-custom-reqs Jul 18, 2023
3 checks passed
@noliveleger noliveleger deleted the 4462-password-validation-classes branch July 18, 2023 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Changes related to API endpoints Back end
Projects
None yet
2 participants