This commit is contained in:
Timothy Jaeryang Baek
2026-04-02 22:54:17 -05:00
parent 53eadb7df7
commit 253f416de3
5 changed files with 382 additions and 344 deletions
@@ -41,9 +41,9 @@
style="white-space: pre-wrap;"
>
{#if ($config?.ui?.pending_user_overlay_content ?? '').trim() !== ''}
{@html DOMPurify.sanitize(marked.parse(
($config?.ui?.pending_user_overlay_content ?? '').replace(/\n/g, '<br>')
))}
{@html DOMPurify.sanitize(
marked.parse(($config?.ui?.pending_user_overlay_content ?? '').replace(/\n/g, '<br>'))
)}
{:else}
{$i18n.t('Your account status is currently pending activation.')}{'\n'}{$i18n.t(
'To access the WebUI, please reach out to the administrator. Admins can manage user statuses from the Admin Panel.'