You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had not implemented a input validation method over the email and password fields in the forgot password page before. I am going to add them with two helper methods to check email and password formats. I am also planning to try various strings and check if they are in email/password format in the unit tests.
The text was updated successfully, but these errors were encountered:
I have added two methods to check the email and password format.
Email format check method checks if there is a segment separation in the text specified by @ and if there are one or two segment separations after @, specified by dot. Texts with "...@domain.dom" and "...@domain.dom.do" format are accepted as emails.
Password format check method checks if the given string contains lowercase, uppercase characters and digits and has a length of at least 8.
I have added unit tests with various possible email and password texts and check if they are correctly identified or not. My unit tests pass on my local system and in the GitHub Actions. Pull request is #304.
I had not implemented a input validation method over the email and password fields in the forgot password page before. I am going to add them with two helper methods to check email and password formats. I am also planning to try various strings and check if they are in email/password format in the unit tests.
The text was updated successfully, but these errors were encountered: