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 += '
'; + h += ''; // server messages h += ''; // email or username @@ -82,14 +82,15 @@ async function UIWindowLogin (options) { h += ``; // password recovery h += `

${i18n('forgot_pass_c2a')}

`; - 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); }