mirror of
https://github.com/koichixD/uptime-kuma.git
synced 2026-09-04 17:23:21 +00:00
fix mtls-auth
This commit is contained in:
@@ -1246,6 +1246,12 @@
|
||||
"minimumIntervalWarning": "Intervals below 20 seconds may result in poor performance.",
|
||||
"lowIntervalWarning": "Are you sure want to set the interval value below 20 seconds? Performance may be degraded, particularly if there are a large number of monitors.",
|
||||
"imageResetConfirmation": "Image reset to default",
|
||||
"mtls-auth-server-cert-label": "Cert",
|
||||
"mtls-auth-server-cert-placeholder": "Cert body",
|
||||
"mtls-auth-server-key-label": "Key",
|
||||
"mtls-auth-server-key-placeholder": "Key body",
|
||||
"mtls-auth-server-ca-label": "CA",
|
||||
"mtls-auth-server-ca-placeholder": "Server CA",
|
||||
"avgPing": "Avg Ping",
|
||||
"maxPing": "Max Ping",
|
||||
"minPing": "Min Ping"
|
||||
|
||||
@@ -1166,16 +1166,16 @@
|
||||
<template v-if="monitor.authMethod && monitor.authMethod !== null ">
|
||||
<template v-if="monitor.authMethod === 'mtls' ">
|
||||
<div class="my-3">
|
||||
<label for="tls-cert" class="form-label">{{ $t("Cert") }}</label>
|
||||
<textarea id="tls-cert" v-model="monitor.tlsCert" class="form-control" :placeholder="$t('Cert body')" required></textarea>
|
||||
<label for="tls-cert" class="form-label">{{ $t("mtls-auth-server-cert-label") }}</label>
|
||||
<textarea id="tls-cert" v-model="monitor.tlsCert" class="form-control" :placeholder="$t('mtls-auth-server-cert-placeholder')" required></textarea>
|
||||
</div>
|
||||
<div class="my-3">
|
||||
<label for="tls-key" class="form-label">{{ $t("Key") }}</label>
|
||||
<textarea id="tls-key" v-model="monitor.tlsKey" class="form-control" :placeholder="$t('Key body')" required></textarea>
|
||||
<label for="tls-key" class="form-label">{{ $t("mtls-auth-server-key-label") }}</label>
|
||||
<textarea id="tls-key" v-model="monitor.tlsKey" class="form-control" :placeholder="$t('mtls-auth-server-key-placeholder')" required></textarea>
|
||||
</div>
|
||||
<div class="my-3">
|
||||
<label for="tls-ca" class="form-label">{{ $t("CA") }}</label>
|
||||
<textarea id="tls-ca" v-model="monitor.tlsCa" class="form-control" :placeholder="$t('Server CA')"></textarea>
|
||||
<label for="tls-ca" class="form-label">{{ $t("mtls-auth-server-ca-label") }}</label>
|
||||
<textarea id="tls-ca" v-model="monitor.tlsCa" class="form-control" :placeholder="$t('mtls-auth-server-ca-placeholder')"></textarea>
|
||||
</div>
|
||||
</template>
|
||||
<template v-else-if="monitor.authMethod === 'oauth2-cc' ">
|
||||
|
||||
Reference in New Issue
Block a user