-
Notifications
You must be signed in to change notification settings - Fork 0
#171784033 Feature resetpassword #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
7c4ad8f
to
56d8743
Compare
Daniel, could you use the same input fields used on Signup and login. |
56d8743
to
d94f4a9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work @benshidanny11
@@ -0,0 +1,22 @@ | |||
import {RESET_ACTION,SEND_RESET_EMAIL_ACTION,SEND_RESET_EMAIL_IN_PROGRESS,RESET_IN_PROGRESS} from './actionTypes'; | |||
import axios from 'axios'; | |||
const sendResetEmailAPILink='https://warriorz-staging.herokuapp.com/api/v1/password/forgot'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the sake of security, I think these two routes may be better if they were obtained from the environmental variables in the .env
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, try to resolve the conflicts and make sure everything is good.
/> | ||
<div className="div-contaier"> | ||
<Link | ||
className={cx("btn","btn-cancel")} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I try to test LINK, Jest gives me an error.
If you are facing a similar issue I think you could alternatively use window.location.assign('pathname')
or use useHistory
This might be easier to test and I guess more efficient.
0af8cd4
to
c91bff8
Compare
c91bff8
to
ef4eba2
Compare
What does this PR do?
Description of Task to be completed?
How should this be manually tested?
What are the relevant pivotal tracker stories?
Screenshots
Send reset email screen shoot

Reset password screen shoot
