Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
f0a8aca0
"vscode:/vscode.git/clone" did not exist on "f448360bd0dfe5e28ee65ab2130532db91d5eafe"
Commit
f0a8aca0
authored
Jul 16, 2024
by
Timothy J. Baek
Browse files
fix: automatic1111 auth key should not be required
parent
45145958
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
src/lib/components/admin/Settings/Images.svelte
src/lib/components/admin/Settings/Images.svelte
+1
-0
src/lib/components/common/SensitiveInput.svelte
src/lib/components/common/SensitiveInput.svelte
+2
-1
No files found.
src/lib/components/admin/Settings/Images.svelte
View file @
f0a8aca0
...
...
@@ -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">
...
...
src/lib/components/common/SensitiveInput.svelte
View file @
f0a8aca0
<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' }}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment