mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-31 08:25:35 +00:00
fix(config): support Redis ACL username
This commit is contained in:
@@ -217,6 +217,15 @@
|
||||
</div>
|
||||
|
||||
<div class="grid grid-cols-2 gap-4">
|
||||
<div>
|
||||
<label class="input-label">{{ t('setup.redis.username') }}</label>
|
||||
<input
|
||||
v-model="formData.redis.username"
|
||||
type="text"
|
||||
class="input"
|
||||
:placeholder="t('setup.redis.usernamePlaceholder')"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<label class="input-label">{{ t('setup.redis.password') }}</label>
|
||||
<input
|
||||
@@ -542,6 +551,7 @@ const formData = reactive<InstallRequest>({
|
||||
redis: {
|
||||
host: 'localhost',
|
||||
port: 6379,
|
||||
username: '',
|
||||
password: '',
|
||||
db: 0,
|
||||
enable_tls: false
|
||||
|
||||
Reference in New Issue
Block a user