Answer the question
In order to leave comments, you need to log in
How can I check the password for strength?
I want to check password strength for minimum requirements.
Before registering a user
but
constantly returning False
print(check_password('pwras333', 'pwras333'))
Answer the question
In order to leave comments, you need to log in
It's still common to say "difficulty".
1. If check_password is from here https://docs.djangoproject.com/en/3.1/topics/auth/... then carefully read what they write there
2. And the requirements are set in the settings https://docs.djangoproject.com/en /3.1/topics/auth/... and you can check via https://docs.djangoproject.com/en/3.1/topics/auth/...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question