Browse Source

Auto login after setup

pull/349/head
Ponkhy 3 years ago
parent
commit
d01fa9bcfc
  1. 7
      src/pages/Setup.vue

7
src/pages/Setup.vue

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

Loading…
Cancel
Save