Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/xui/form')
-rw-r--r--web/html/xui/form/reality_settings.html8
-rw-r--r--web/html/xui/form/tls_settings.html4
2 files changed, 6 insertions, 6 deletions
diff --git a/web/html/xui/form/reality_settings.html b/web/html/xui/form/reality_settings.html
index 16179458..26e5632d 100644
--- a/web/html/xui/form/reality_settings.html
+++ b/web/html/xui/form/reality_settings.html
@@ -43,11 +43,11 @@
<a-form-item label='SpiderX'>
<a-input v-model.trim="inbound.stream.reality.settings.spiderX"></a-input>
</a-form-item>
- <a-form-item label='{{ i18n "pages.inbounds.privatekey" }}'>
- <a-input v-model.trim="inbound.stream.reality.privateKey"></a-input>
- </a-form-item>
<a-form-item label='{{ i18n "pages.inbounds.publicKey" }}'>
- <a-input v-model.trim="inbound.stream.reality.settings.publicKey"></a-input>
+ <a-input v-model="inbound.stream.reality.settings.publicKey"></a-input>
+ </a-form-item>
+ <a-form-item label='{{ i18n "pages.inbounds.privatekey" }}'>
+ <a-input type="password" v-model="inbound.stream.reality.privateKey"></a-input>
</a-form-item>
<a-form-item label=" ">
<a-button type="primary" icon="import" @click="getNewX25519Cert">Get New Cert</a-button>
diff --git a/web/html/xui/form/tls_settings.html b/web/html/xui/form/tls_settings.html
index 0ad919c9..5890c9af 100644
--- a/web/html/xui/form/tls_settings.html
+++ b/web/html/xui/form/tls_settings.html
@@ -85,10 +85,10 @@
</template>
<template v-else>
<a-form-item label='{{ i18n "pages.inbounds.publicKey" }}'>
- <a-input type="textarea" :rows="3" v-model="cert.cert"></a-input>
+ <a-input v-model="cert.cert"></a-input>
</a-form-item>
<a-form-item label='{{ i18n "pages.inbounds.privatekey" }}'>
- <a-input type="textarea" :rows="3" v-model="cert.key"></a-input>
+ <a-input type="password" v-model="cert.key"></a-input>
</a-form-item>
</template>
<a-form-item label='OCSP stapling'>