diff --git a/html/css/mono.css b/html/css/mono.css index b63f759059..f5fc4ad9be 100644 --- a/html/css/mono.css +++ b/html/css/mono.css @@ -22,6 +22,16 @@ color: black; } +.panel-default>.panel-heading { + background: black; + color: white; +} + +.panel-default>.panel-heading .icon-theme, +.panel-default>.panel-heading a:visited, +.panel-default>.panel-heading a:link { + color: white; +} .twitter-typeahead .tt-hint { border-color: #000 !important; diff --git a/html/includes/authentication/twofactor.lib.php b/html/includes/authentication/twofactor.lib.php index b4acdb2b05..6157a1162c 100644 --- a/html/includes/authentication/twofactor.lib.php +++ b/html/includes/authentication/twofactor.lib.php @@ -161,7 +161,7 @@ function verify_hotp($key, $otp, $counter = false) /** * Print TwoFactor Input-Form * @param boolean $form Include FORM-tags - * @return void|string + * @return string */ function twofactor_form($form = true) { @@ -174,7 +174,7 @@ function twofactor_form($form = true)

- +

@@ -189,7 +189,7 @@ function twofactor_form($form = true)
- +
'; diff --git a/html/pages/logon.inc.php b/html/pages/logon.inc.php index 63ba14ccab..843d71e513 100644 --- a/html/pages/logon.inc.php +++ b/html/pages/logon.inc.php @@ -8,13 +8,7 @@ if ($config['twofactor'] && isset($twofactorform)) {

- '; - } else { - echo ''; - } - ?> + '; ?>