diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2025-03-04 12:36:02 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2025-03-04 12:36:02 +0300 |
| commit | 99a23f25d5c6c86a96e2c3783d2cfcdd45f44cf4 (patch) | |
| tree | 8983bf119a80ab4355424c87493f133d42801c77 /web/html/xui | |
| parent | 653ec90451aaa840926bff5bbb469d168eb89897 (diff) | |
TLS-REALITY : hide value of private key
Diffstat (limited to 'web/html/xui')
| -rw-r--r-- | web/html/xui/form/reality_settings.html | 8 | ||||
| -rw-r--r-- | web/html/xui/form/tls_settings.html | 4 |
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'> |
