From 8f3c33c6863bc71398dcc671a5a3dd3db486589d Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Sun, 16 Nov 2003 12:15:38 +0000 Subject: [PATCH] Add passing of account type to session->create (this is a user-only login page) --- login.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/login.php b/login.php index 235b1add6c..aedb69dd47 100755 --- a/login.php +++ b/login.php @@ -23,7 +23,7 @@ if(file_exists('./header.inc.php')) { include('./header.inc.php'); - $GLOBALS['phpgw']->sessions = createObject('phpgwapi.sessions'); + $GLOBALS['phpgw']->sessions = CreateObject('phpgwapi.sessions'); } else { @@ -164,7 +164,7 @@ { $login .= '@'.$GLOBALS['phpgw_info']['server']['default_domain']; } - $GLOBALS['sessionid'] = $GLOBALS['phpgw']->session->create($login,$_POST['passwd'],$_POST['passwd_type']); + $GLOBALS['sessionid'] = $GLOBALS['phpgw']->session->create($login,$_POST['passwd'],$_POST['passwd_type'],'u'); if (! isset($GLOBALS['sessionid']) || ! $GLOBALS['sessionid']) {