Describe the bug
During user registration, the local part of the email is properly validated, as well as the domain part, but any extra character addition to the domain part is allowed(not properly validated) for example johnson@gmail.com.com.com.com is currently allowed.
Describe the bug During user registration, the local part of the email is properly validated, as well as the domain part, but any extra character addition to the domain part is allowed(not properly validated) for example johnson@gmail.com.com.com.com is currently allowed.
To Reproduce Steps to reproduce the behavior:
Expected behavior The server is supposed to respond with "Invalid email" or a message of the same likeness.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
ENTERED johnson@gmail.com.com DURING REGISTRATION
SERVER ALLOWED REGISTRATION
Additional context The backend should not allow such invalid emails to be registered in the platform