Fix radio button and add description

pull/1862/head
Louis Lam 2 years ago
parent 3fa5dfc873
commit 16d6885a88

@ -103,12 +103,12 @@
v-model="settings.trustProxy"
class="form-check-input"
type="radio"
name="flexRadioDefault"
name="trustProxyYes"
:value="true"
required
/>
<label class="form-check-label" for="trustProxyYes">
{{ $t("Trust 'X-Forwarded-*' headers") }}
{{ $t("Yes") }}
</label>
</div>
<div class="form-check">
@ -121,10 +121,14 @@
:value="false"
required
/>
<label class="form-check-label" for="trustProxyYes">
{{ $t("Don't trust 'X-Forwarded-*' headers") }}
<label class="form-check-label" for="trustProxyNo">
{{ $t("No") }}
</label>
</div>
<div class="form-text">
{{ $t("trustProxyDescription") }}
</div>
</div>
<div>

@ -540,4 +540,5 @@ export default {
"Domain": "Domain",
"Workstation": "Workstation",
disableCloudflaredNoAuthMsg: "You are in No Auth mode, password is not require.",
trustProxyDescription: "Trust 'X-Forwarded-*' headers. If you want to get the correct client IP and your Uptime Kuma is behind such as Nginx or Apache, you should enable this.",
};

Loading…
Cancel
Save