mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-30 17:05:16 -05:00
fix: terminal connection with Auth set to None cannot be saved without an API key (#34109)
In the Add and Edit Terminal Connection dialogs, Save did nothing while API Key was empty, so a terminal server that needs no key could only be added or changed after typing some text into the key field. API Key is optional again, as it was in 0.13.3 and as it is in the other connection dialogs. Fixes #34086
This commit is contained in:
1 parent
74370b2ae1
commit
14618e3553
1 file changed
+1
-1
@@ -200,7 +200,7 @@
|
||||
<option value="system_oauth">{$i18n.t('OAuth')}</option>
|
||||
</select>
|
||||
<div class="min-w-0 flex-1">
|
||||
<SensitiveInput bind:value={key} placeholder={$i18n.t('API Key')} />
|
||||
<SensitiveInput bind:value={key} placeholder={$i18n.t('API Key')} required={false} />
|
||||
{#if auth_type === 'session'}
|
||||
<p class="mt-1 text-xs text-gray-500">
|
||||
{$i18n.t('Forwards system user session credentials to authenticate')}
|
||||
|
||||
Reference in new issue
Block a user