Fix 2FA on login

This commit is contained in:
Dane Everitt 2018-07-15 17:09:41 -07:00
parent 4c4f6d3afe
commit d0348a4505
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -84,7 +84,7 @@
this.$props.user.password = ''; this.$props.user.password = '';
this.$data.showSpinner = false; this.$data.showSpinner = false;
this.$router.push({name: 'checkpoint', query: {token: response.login_token}}); this.$router.push({name: 'checkpoint', query: {token: response.token}});
}) })
.catch(err => { .catch(err => {
this.$props.user.password = ''; this.$props.user.password = '';