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

enable password validation #1739

Merged
merged 2 commits into from
Dec 19, 2023
Merged

enable password validation #1739

merged 2 commits into from
Dec 19, 2023

Conversation

Bomme
Copy link
Contributor

@Bomme Bomme commented Dec 19, 2023

Description
This PR introduces password validation for user registration and password change.

Up to now, there was no password validation done and consequently no password requirements enforced.

The settings are taken from the default Django settings.py.

If I'm not mistaken there should be no effect on currently stored passwords. Only, new (and changed) passwords will need to fulfill the requirements.

Conveniently, the default password change form will inform the user about the password requirements (see below).

Before:
Bildschirmfoto 2023-12-19 um 11 20 26

After:
Bildschirmfoto 2023-12-19 um 11 18 21

Deployment steps:
None

the settings are taken from the default Django settings.py
@Bomme Bomme requested review from alastair and ffont December 19, 2023 10:31
@ffont
Copy link
Member

ffont commented Dec 19, 2023

Thanks @Bomme! That unfortunately means I won't be able to use 12345678 as my test password anymore :S

@ffont ffont merged commit ae5a3a2 into master Dec 19, 2023
1 check passed
@ffont ffont deleted the password_validators branch December 19, 2023 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants