Auto login after setup

pull/349/head
Ponkhy 3 years ago
parent ec8c1cad31
commit d01fa9bcfc

@ -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("/")
})
}
})
},

Loading…
Cancel
Save