Skip to content

Commit

Permalink
fix mistake - security only for vmess
Browse files Browse the repository at this point in the history
  • Loading branch information
MHSanaei committed Sep 16, 2024
1 parent 176ab5f commit ad78cec
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions web/html/xui/form/outbound.html
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,15 @@
<a-form-item label='ID'>
<a-input v-model.trim="outbound.settings.id"></a-input>
</a-form-item>
<a-form-item label='Security'>
<a-select v-model="outbound.settings.security" :dropdown-class-name="themeSwitcher.currentTheme">
<a-select-option v-for="key in USERS_SECURITY" :value="key">[[ key ]]</a-select-option>
</a-select>
</a-form-item>

<!-- vmess settings -->
<template v-if="outbound.protocol === Protocols.VMess">
<a-form-item label='Security'>
<a-select v-model="outbound.settings.security" :dropdown-class-name="themeSwitcher.currentTheme">
<a-select-option v-for="key in USERS_SECURITY" :value="key">[[ key ]]</a-select-option>
</a-select>
</a-form-item>
</template>

<!-- vless settings -->
<template v-if="outbound.canEnableTlsFlow()">
Expand Down

0 comments on commit ad78cec

Please sign in to comment.