mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-10 21:20:42 +08:00
Auto login after setup
This commit is contained in:
@@ -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("/")
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
|
Reference in New Issue
Block a user