Merge branch 'feature/vuejs' into feature/vuejs-account

This commit is contained in:
Dane Everitt 2018-07-04 18:12:57 -07:00
commit 5010c0c756
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 78 additions and 0 deletions

View file

@ -97,6 +97,11 @@
throw new Error('An error was encountered while processing this login.');
}
if (response.data.send_to_login) {
self.success('Your password has been reset, please login to continue.');
return self.$router.push({ name: 'login' });
}
return window.location = response.data.redirect_to;
})
.catch(function (err) {