mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +00:00
refac: user oauth display
This commit is contained in:
parent
dcf50c4758
commit
8ef482a52a
1 changed files with 7 additions and 2 deletions
|
|
@ -184,8 +184,13 @@
|
|||
<div class="flex flex-col w-full">
|
||||
<div class=" mb-1 text-xs text-gray-500">{$i18n.t('OAuth ID')}</div>
|
||||
|
||||
<div class="flex-1 text-sm break-all mb-1">
|
||||
{JSON.stringify(_user.oauth ?? '')}
|
||||
<div class="flex-1 text-sm break-all mb-1 flex flex-col space-y-1">
|
||||
{#each Object.keys(_user.oauth) as key}
|
||||
<div>
|
||||
<span class="text-gray-500">{key}</span>
|
||||
<span class="">{_user.oauth[key]?.sub}</span>
|
||||
</div>
|
||||
{/each}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
|
|
|||
Loading…
Reference in a new issue