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:
parent
ec8c1cad31
commit
d01fa9bcfc
@ -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…
Reference in New Issue
Block a user