forked from extern/egroupware
Add passing of account type to session->create (this is a user-only login page)
This commit is contained in:
parent
54a9bb2960
commit
8f3c33c686
@ -23,7 +23,7 @@
|
|||||||
if(file_exists('./header.inc.php'))
|
if(file_exists('./header.inc.php'))
|
||||||
{
|
{
|
||||||
include('./header.inc.php');
|
include('./header.inc.php');
|
||||||
$GLOBALS['phpgw']->sessions = createObject('phpgwapi.sessions');
|
$GLOBALS['phpgw']->sessions = CreateObject('phpgwapi.sessions');
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -164,7 +164,7 @@
|
|||||||
{
|
{
|
||||||
$login .= '@'.$GLOBALS['phpgw_info']['server']['default_domain'];
|
$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'])
|
if (! isset($GLOBALS['sessionid']) || ! $GLOBALS['sessionid'])
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user