mirror of
https://github.com/open-webui/open-webui
synced 2024-11-07 09:09:53 +00:00
fix: automatic1111 auth key should not be required
This commit is contained in:
parent
4514595811
commit
f0a8aca0e3
@ -282,6 +282,7 @@
|
||||
<SensitiveInput
|
||||
placeholder={$i18n.t('Enter api auth string (e.g. username:password)')}
|
||||
bind:value={AUTOMATIC1111_API_AUTH}
|
||||
required={false}
|
||||
/>
|
||||
|
||||
<div class="mt-2 text-xs text-gray-400 dark:text-gray-500">
|
||||
|
@ -1,6 +1,7 @@
|
||||
<script lang="ts">
|
||||
export let value: string = '';
|
||||
export let placeholder = '';
|
||||
export let required = true;
|
||||
export let readOnly = false;
|
||||
export let outerClassName = 'flex flex-1';
|
||||
export let inputClassName =
|
||||
@ -15,7 +16,7 @@
|
||||
class={inputClassName}
|
||||
{placeholder}
|
||||
bind:value
|
||||
required={!readOnly}
|
||||
required={required && !readOnly}
|
||||
disabled={readOnly}
|
||||
autocomplete="off"
|
||||
{...{ type: show ? 'text' : 'password' }}
|
||||
|
Loading…
Reference in New Issue
Block a user