diff --git a/lam/lib/account.inc b/lam/lib/account.inc index b3f44ac8..9dedfb57 100644 --- a/lam/lib/account.inc +++ b/lam/lib/account.inc @@ -1522,21 +1522,6 @@ function printHeaderContents($title, $prefix) { echo '
@@ -393,8 +348,7 @@ function display_LoginPage(LAMConfig $config_object, LAMCfgMain $cfgMain, $licen
$userSelect = new htmlSelect('username', $adminList, $selectedAdmin);
$userSelect->setHasDescriptiveElements(true);
$userSelect->setTransformSingleSelect(false);
- $userSelect->alignment = htmlElement::ALIGN_LEFT;
- $row->addField($userSelect);
+ $row->addField(new htmlDiv(null, $userSelect));
}
else {
if ($config_object->getHttpAuthentication() == 'true') {
@@ -421,7 +375,6 @@ function display_LoginPage(LAMConfig $config_object, LAMCfgMain $cfgMain, $licen
else {
$passwordInput = new htmlInputField('passwd');
$passwordInput->setIsPassword(true);
- $passwordInput->setFieldSize('20px');
$row->addField($passwordInput);
}
// language
diff --git a/lam/templates/login2Factor.php b/lam/templates/login2Factor.php
index 1cac6135..fe6ae012 100644
--- a/lam/templates/login2Factor.php
+++ b/lam/templates/login2Factor.php
@@ -117,51 +117,15 @@ if (isset($_POST['submit'])) {
}
}
+echo $_SESSION['header'];
+printHeaderContents(_("Login"), '..');
?>
-
-
-
-
-
-
-
- |