mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-28 01:04:05 +00:00
Auto login after setup
This commit is contained in:
parent
ec8c1cad31
commit
d01fa9bcfc
1 changed files with 6 additions and 1 deletions
|
@ -85,7 +85,12 @@ export default {
|
||||||
this.$root.toastRes(res)
|
this.$root.toastRes(res)
|
||||||
|
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
this.$router.push("/")
|
this.processing = true;
|
||||||
|
|
||||||
|
this.$root.login(this.username, this.password, (res) => {
|
||||||
|
this.processing = false;
|
||||||
|
this.$router.push("/")
|
||||||
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue