FIX Show errors in session on login page

This commit is contained in:
Laurent Destailleur
2020-10-20 18:41:26 +02:00
parent 4ec4801c77
commit 2a31d43938

View File

@@ -290,6 +290,8 @@ if (!function_exists('dol_loginfunction'))
// Include login page template
include $template_dir.'login.tpl.php';
// Global html output events ($mesgs, $errors, $warnings)
dol_htmloutput_events(0);
$_SESSION["dol_loginmesg"] = '';
}