Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bug fix: Added password_validator_fixed.py with uppercase and lowercase validation #413

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

Open
gouriphadnis0301 wants to merge 3 commits into larymak:main
base: main
Choose a base branch
Loading
from gouriphadnis0301:feat/issue_solve

Conversation

@gouriphadnis0301
Copy link

@gouriphadnis0301 gouriphadnis0301 commented Sep 30, 2025

Description:
This PR fixes a bug in the password validation logic where the previous script did not properly enforce the presence of uppercase and lowercase letters in passwords.

Changes made:

  • Added a new file password_validator_fixed.py in the folder PASSWORD RELATED/password-validator/.

  • Updated password validation rules to ensure:

     - At least one uppercase letter
     - At least one lowercase letter
     - At least one number
     - At least one special character
     - Minimum length of 6 and maximum length of 12
     - No spaces
    

Steps to verify:

  1. Run password_validator_fixed.py.
  2. Enter passwords that meet some but not all criteria.
  3. Verify that the script rejects passwords missing uppercase or lowercase letters.
  4. verify that valid passwords are accepted.

Notes:

  • Original PASSWORD_VALIDATOR.py remains unchanged.
  • This fix ensures proper enforcement of password strength requirements as described in the initial rules.

Impact:

  • Improves security by enforcing stronger password rules.
  • Helps users avoid creating weak passwords.

Copy link

Hi @gouriphadnis0301! 👋

Thank you for submitting a pull request! We appreciate your contribution and will review your changes as soon as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /