Skip to content

fix: add email validation during account registration#353

Open
kumud-05 wants to merge 1 commit into
Canopus-Labs:mainfrom
kumud-05:fix/email-validation
Open

fix: add email validation during account registration#353
kumud-05 wants to merge 1 commit into
Canopus-Labs:mainfrom
kumud-05:fix/email-validation

Conversation

@kumud-05

@kumud-05 kumud-05 commented Jul 5, 2026

Copy link
Copy Markdown

📝 Pull Request Description

Related Issue

Closes #343

Summary

This PR fixes the missing email validation during account registration by implementing validation on both the frontend and backend. It also improves the user experience by clearing the email validation error once a valid email address is entered.


Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature
  • ♻️ Refactoring
  • 📝 Documentation update
  • 🎨 UI/UX improvement
  • 🔥 Other (please describe) ______

How Has This Been Tested?

  • Tested registration with invalid email formats (e.g., abc, abc@gmail, K@gbjsd.comhbj45) to verify that appropriate validation errors are displayed.
  • Verified that the email validation error is cleared immediately after entering a valid email address.
  • Confirmed that backend validation prevents account creation with invalid email formats.

Screenshots (if applicable)

Before

  • Invalid email addresses were accepted without proper validation.
Screenshot 2026-07-04 234327

After

  • Invalid email addresses display a validation error.
  • Email validation errors disappear immediately after entering a valid email.
  • Backend rejects invalid email formats even if frontend validation is bypassed.
Screenshot 2026-07-05 171546

Checklist

  • My code follows the project's guidelines
  • I have tested my changes
  • I have updated documentation where necessary (Not required)
  • I have linked the related issue
  • My changes do not introduce new warnings or errors

@kumud-05

kumud-05 commented Jul 6, 2026

Copy link
Copy Markdown
Author

Hi @KaranUnique , could you please review this PR when you have a chance? This fixes the assigned issue by implementing email validation on both the frontend and backend, along with improving the validation behavior. I'd appreciate your feedback. Thank you!

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.

[Bug]: Account registration accepts invalid email addresses without validation

1 participant