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

Skip old_password validation when user has no usable password set #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 31, 2020

  1. Skip old_password validation when user has no usable password set

    In case of social authentication, an unusable password is set.
    
    If settings have `OLD_PASSWORD_FIELD_ENABLED` then `old_password` is validated when the user changes the password.
    Since the user has not set any password in the past, the check for `old_password` should be skipped to change the password.
    
    The validation will work when the user has a password set.
    anuj9196 committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    c3c5916 View commit details
    Browse the repository at this point in the history