Implementing django password validators for edX. This involves removing
the old validate password method and configuration values in favor of AUTH_PASSWORD_VALIDATORS, a list of validators to use to check a password. These include some that come straight from Django and some that were written according to Django's specifications. This work also included maintaining the current messaging as instruction text and passing along restrictions for the password field.
Showing
- cms/envs/aws.py 1 addition, 5 deletionscms/envs/aws.py
- common/djangoapps/student/forms.py 10 additions, 12 deletionscommon/djangoapps/student/forms.py
- common/djangoapps/student/views/management.py 2 additions, 2 deletionscommon/djangoapps/student/views/management.py
- common/djangoapps/util/password_policy_validators.py 384 additions, 256 deletionscommon/djangoapps/util/password_policy_validators.py
- lms/envs/aws.py 1 addition, 5 deletionslms/envs/aws.py
- lms/envs/devstack.py 0 additions, 3 deletionslms/envs/devstack.py
- openedx/core/djangoapps/password_policy/compliance.py 2 additions, 2 deletionsopenedx/core/djangoapps/password_policy/compliance.py
- openedx/core/djangoapps/user_api/accounts/api.py 12 additions, 10 deletionsopenedx/core/djangoapps/user_api/accounts/api.py
- openedx/core/djangoapps/user_api/api.py 7 additions, 16 deletionsopenedx/core/djangoapps/user_api/api.py
- openedx/core/djangoapps/user_api/helpers.py 2 additions, 2 deletionsopenedx/core/djangoapps/user_api/helpers.py
- openedx/core/djangoapps/user_api/validation/views.py 4 additions, 3 deletionsopenedx/core/djangoapps/user_api/validation/views.py
Please register or sign in to comment