mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-04 02:33:43 +00:00
fix: stop the token and API key copy buttons from saving the account form (#30956)
This commit is contained in:
parent
ff89756b6d
commit
bbfa876afd
1 changed files with 2 additions and 0 deletions
|
|
@ -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={() => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue