Skip to content

Conversation

@ABee-Tech
Copy link
Contributor

Fixes #issue_number

Description

Login using email address on login, signup and forgot password screen.

Screenshots

Links and Curls

http://localhost:3000/login
http://localhost:3000/register
http://localhost:3000/forgot-password

@ABee-Tech ABee-Tech requested a review from lmmrssa July 26, 2021 12:24
@ABee-Tech ABee-Tech self-assigned this Jul 26, 2021
Copy link
Member

@lmmrssa lmmrssa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also we want to keep it on hold as with verified email we can login even now


return (
<form className='sign' onSubmit={handleSubmit(onSubmit)}>
<form className='sign' onSubmit={handleSubmit(onSubmit)} noValidate>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is validation error removed?

message: 'You must enter username'
message: 'You must enter email'
},
pattern: {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

email pattern will not be required as input type should do that

return (
<SignLayout>
<form className='sign'>
<form className='sign' noValidate>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

validation should not be removed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed noValidate and changed email field type to text.

message: 'You must enter username'
message: 'You must enter email'
},
pattern: {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pattern validation will not be required

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants