Browse Source

fix: correct Hysteria2 Obfs password label to Auth password (#4388)

The Obfs password field in the Hysteria2 stream settings tab was incorrectly
labeled. It binds to hysteriaSettings.auth (the server-wide authentication
password), not to the salamander obfuscation password. Per Xray-core docs,
Hysteria2 salamander obfuscation belongs in finalmask.udp[].salamander.password,
which is correctly handled by the FinalMaskForm (UDP Masks section).

Fixed the label to Auth password with an accurate tooltip explaining that
salamander obfuscation is configured via the UDP Masks section below.
Abdalrahman 14 hours ago
parent
commit
f3c7660f84
1 changed files with 2 additions and 2 deletions
  1. 2 2
      frontend/src/pages/inbounds/InboundFormModal.vue

+ 2 - 2
frontend/src/pages/inbounds/InboundFormModal.vue

@@ -1836,8 +1836,8 @@ watch(
             </a-form-item>
             </a-form-item>
             <a-form-item>
             <a-form-item>
               <template #label>
               <template #label>
-                <a-tooltip title="Obfuscation password. Must match between server and client.">
-                  Obfs password
+                <a-tooltip title="Hysteria server authentication password. Overridden by per-client auth when clients are configured. Obfuscation (salamander) is configured via UDP Masks below.">
+                  Auth password
                 </a-tooltip>
                 </a-tooltip>
               </template>
               </template>
               <a-input v-model:value="inbound.stream.hysteria.auth" />
               <a-input v-model:value="inbound.stream.hysteria.auth" />