"vscode:/vscode.git/clone" did not exist on "f448360bd0dfe5e28ee65ab2130532db91d5eafe"
Commit f0a8aca0 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: automatic1111 auth key should not be required

parent 45145958
......@@ -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">
......
<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' }}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment