diff --git a/adminer/include/auth.inc.php b/adminer/include/auth.inc.php index 0046da7d..b8ce053f 100644 --- a/adminer/include/auth.inc.php +++ b/adminer/include/auth.inc.php @@ -119,7 +119,7 @@ function auth_error($error) { $password = get_password(); if ($password !== null) { if ($password === false) { - $error .= '
' . lang('Master password expired. Implement %s method to make it permanent.', target_blank(), 'permanentLogin()'); + $error .= ($error ? '
' : '') . lang('Master password expired. Implement %s method to make it permanent.', target_blank(), 'permanentLogin()'); } set_password(DRIVER, SERVER, $_GET["username"], null); }