1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-11-24 08:32:23 +02:00

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.$router.push("/")
this.processing = true;
this.$root.login(this.username, this.password, (res) => {
this.processing = false;
this.$router.push("/")
})
}
})
},