From 383790013f665e8911fc761dd7683bd3c5dba2ba Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Fri, 30 Sep 2005 13:53:45 +0000 Subject: [PATCH] added session check --- lam/templates/login.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lam/templates/login.php b/lam/templates/login.php index 15924cc4..51d6ed92 100644 --- a/lam/templates/login.php +++ b/lam/templates/login.php @@ -32,7 +32,7 @@ $Id$ include_once("../lib/config.inc"); // Include config.inc which provides Config class session_save_path("../sess"); // Set session save path -@session_start(); // Start LDAP Account Manager session +session_start(); // Start LDAP Account Manager session /** * Displays the login window. @@ -129,6 +129,11 @@ function display_LoginPage($config_object) {



"; + } // check if all password hashes are possible if ((! function_exists('mHash')) && (! function_exists('sha1'))) { StatusMessage("INFO", "Your PHP does not support MHash or sha1(), you will only be able to use CRYPT/PLAIN/MD5/SMD5 for user passwords!", "Please install MHash or update to PHP >4.3.");