Merge pull request #32415 from Gouttfi/develop

FIX : Removed display of login input field when main_authentication == "googleoauth"
This commit is contained in:
Laurent Destailleur
2024-12-19 17:08:15 +01:00
committed by GitHub

View File

@@ -282,6 +282,7 @@ if ($disablenofollow) {
<div class="tagtable left centpercent" title="<?php echo $langs->trans("EnterLoginDetail"); ?>">
<!-- Login -->
<?php if (!isset($conf->file->main_authentication) || $conf->file->main_authentication != 'googleoauth') { ?>
<div class="trinputlogin">
<div class="tagtd nowraponall center valignmiddle tdinputlogin">
<?php if (getDolGlobalString('MAIN_OPTIMIZEFORTEXTBROWSER')) {
@@ -294,7 +295,6 @@ if ($disablenofollow) {
</div>
<!-- Password -->
<?php if (!isset($conf->file->main_authentication) || $conf->file->main_authentication != 'googleoauth') { ?>
<div class="trinputlogin">
<div class="tagtd nowraponall center valignmiddle tdinputlogin">
<?php if (getDolGlobalString('MAIN_OPTIMIZEFORTEXTBROWSER')) {