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

This commit is contained in:
Dane Everitt
2018-07-04 18:12:57 -07:00
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) {