From f89079f9079a4f9b7d54333927cfec6232152a8b Mon Sep 17 00:00:00 2001 From: jelveh Date: Sat, 21 Mar 2026 18:39:38 -0700 Subject: [PATCH] Fix login form layout and window options --- src/gui/src/UI/UIWindowLogin.js | 11 ++++++----- src/gui/src/initgui.js | 6 ++---- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/gui/src/UI/UIWindowLogin.js b/src/gui/src/UI/UIWindowLogin.js index 72445db33..a609d1b1d 100644 --- a/src/gui/src/UI/UIWindowLogin.js +++ b/src/gui/src/UI/UIWindowLogin.js @@ -57,7 +57,7 @@ async function UIWindowLogin (options) { h += ''; // form h += '
'; - h += ''; + // OIDC h += ''; + h += ''; h += '
'; // create account link diff --git a/src/gui/src/initgui.js b/src/gui/src/initgui.js index d06af1796..9d2505884 100644 --- a/src/gui/src/initgui.js +++ b/src/gui/src/initgui.js @@ -581,9 +581,8 @@ window.initgui = async function (options) { else if ( action === 'login' ) { const authError = window.url_query_params.get('message') || null; const opts = window.url_query_params.has('auth_error') ? { authError } : {}; - opts.window_options = { cover_page: true }; if ( ! window.is_auth() ) { - opts.window_options = { has_head: false }; + opts.window_options = { cover_page: true, has_head: false }; } await UIWindowLogin(Object.keys(opts).length ? opts : undefined); } @@ -593,9 +592,8 @@ window.initgui = async function (options) { else if ( action === 'signup' ) { const authError = window.url_query_params.get('message') || null; const opts = window.url_query_params.has('auth_error') ? { authError } : {}; - opts.window_options = { cover_page: true }; if ( ! window.is_auth() ) { - opts.window_options.has_head = false; + opts.window_options = { cover_page: true, has_head: false }; } await UIWindowSignup(Object.keys(opts).length ? opts : undefined); }