Bug: Redirect user to set new password screen (#772)

This commit is contained in:
Pranav Raj S 2020-04-27 15:15:05 +05:30 committed by GitHub
parent 6770126de0
commit fde4f9271b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ export default {
Auth.verifyPasswordToken({ Auth.verifyPasswordToken({
confirmationToken: this.confirmationToken confirmationToken: this.confirmationToken
}).then(res => { }).then(res => {
window.location = '/'; window.location = res.data.redirect_url;
}).catch(res => { }).catch(res => {
window.location = '/'; window.location = '/';
}); });