Commit f60e4cb9 authored by EKSAD's avatar EKSAD

up

parent 21f28b08
...@@ -38,7 +38,7 @@ class ForgotPassword extends Component { ...@@ -38,7 +38,7 @@ class ForgotPassword extends Component {
} }
api.create().verification(payload).then((response) => { api.create().verification(payload).then((response) => {
if(response.data.status === 'success') { if(response.data.status === 'success') {
this.props.history.push('/login') this.props.history.push('/email-verification')
} else { } else {
if (response.data.message == 'Akun Tidak Ditemukan!') { if (response.data.message == 'Akun Tidak Ditemukan!') {
this.setState({ errorEmail: true, msgEmail: response.data.message }) this.setState({ errorEmail: true, msgEmail: response.data.message })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment