Auto login after setup

This commit is contained in:
Ponkhy 2021-09-07 10:25:25 +02:00
parent ec8c1cad31
commit d01fa9bcfc

View file

@ -85,7 +85,12 @@ export default {
this.$root.toastRes(res)
if (res.ok) {
this.processing = true;
this.$root.login(this.username, this.password, (res) => {
this.processing = false;
this.$router.push("/")
})
}
})
},