mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-17 19:54:39 -05:00
Merge pull request #349 from Ponkhy/redirect-after-setup
Auto login after setup
This commit is contained in:
commit
850563442a
@ -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 New Issue
Block a user