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

Add Constraints on Passwords in Sign Up page #280

Merged
merged 2 commits into from
Jan 24, 2025

Conversation

PedroCo3lho
Copy link
Contributor

Detailed Information

This pull request introduces password validation functionality to the signup page, ensuring that passwords meet specific security requirements. The changes include the addition of a new utility function for password validation and updates to the signup page to incorporate this validation.

Password validation functionality:

  • landing_page/src/app/lib/utils/RegEx.ts: Added an enumeration PasswordRequirement for the different password criteria, a type TPasswordValidationResult for the validation result, and a function validatePassword to check if a password meets the specified requirements.

Updates to the signup page:

Related Issues

Closes #277


Type of Change

  • 🐛 Bug fix or ⚙️ enhancement
  • ✨ New feature or Chore (change with no new features or fixes)
  • 📚 Documentation update

Checklist (select as many as applicable)

  • The code follows the style guidelines of this project.
  • All new and existing tests pass.
  • This pull request is ready to be merged and reviewed.

@Solomonsolomonsolomon Solomonsolomonsolomon merged commit 179b525 into NoshonNetworks:main Jan 24, 2025
1 check passed
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.

Add Constraints on Passwords
2 participants