[x] The email should be validated. We need to verify that it consists of these parts: the username (not necessary the same as User.username), the separator @ and the domain.
Registration page:
[x] Empty username, email and password are not allowed.
I think email validation should be provided during registration. So as Username and Password.
In this case there is no need to validate data from login page.
Consider it while reviewing my code.
Login page:
User.username
), the separator@
and the domain.Registration page: