mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-09 13:14:24 +08:00
Fix cloudflared cannot be stopped in No Auth mode due to password checking
This commit is contained in:
@@ -68,7 +68,9 @@
|
||||
<Confirm ref="confirmStop" btn-style="btn-danger" :yes-text="$t('Stop') + ' cloudflared'" :no-text="$t('Cancel')" @yes="stop">
|
||||
{{ $t("The current connection may be lost if you are currently connecting via Cloudflare Tunnel. Are you sure want to stop it? Type your current password to confirm it.") }}
|
||||
|
||||
<div class="mt-3">
|
||||
<p class="mt-2">{{ $t("disableCloudflaredNoAuthMsg") }}</p>
|
||||
|
||||
<div v-if="!settings.disableAuth" class="mt-3">
|
||||
<label for="current-password2" class="form-label">
|
||||
{{ $t("Current Password") }}
|
||||
</label>
|
||||
@@ -108,7 +110,9 @@ export default {
|
||||
return this.$root.cloudflared;
|
||||
},
|
||||
computed: {
|
||||
|
||||
settings() {
|
||||
return this.$parent.$parent.$parent.settings;
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
|
||||
|
Reference in New Issue
Block a user