mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-25 17:00:52 -04:00
fix: stop the token and API key copy buttons from saving the account form (#30956)
This commit is contained in:
@@ -408,6 +408,7 @@
|
||||
<SensitiveInput variant="settings" value={localStorage.token} readOnly={true} />
|
||||
|
||||
<button
|
||||
type="button"
|
||||
class="ml-1.5 rounded-sm px-1.5 py-1 text-gray-500 transition hover:text-gray-700 dark:hover:text-gray-300"
|
||||
aria-label={$i18n.t('Copy Token')}
|
||||
on:click={() => {
|
||||
@@ -465,6 +466,7 @@
|
||||
<SensitiveInput variant="settings" value={APIKey} readOnly={true} />
|
||||
|
||||
<button
|
||||
type="button"
|
||||
class="ml-1.5 rounded-sm px-1.5 py-1 text-gray-500 transition hover:text-gray-700 dark:hover:text-gray-300"
|
||||
aria-label={$i18n.t('Copy API Key')}
|
||||
on:click={() => {
|
||||
|
||||
Reference in New Issue
Block a user