removed unnecessary lines of code

This commit is contained in:
PitiTheGrey
2020-05-03 20:14:49 +02:00
committed by GitHub
parent e5c5f7f1d0
commit e5534a7cba
@@ -39,10 +39,6 @@ export default {
async reset () {
const response = await axios.post('/api/v4/user/reset');
window.location.reload(true);
// @TODO: Not sure if this is correct
this.$store.user = response.data.data.user;
this.$router.push('/');
this.$root.$emit('bv::hide::modal', 'reset');
},
},
};