mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
do not set cookies if not using cookies
This commit is contained in:
parent
57145e6841
commit
c60fbfd183
@ -76,9 +76,12 @@
|
||||
$GLOBALS['phpgw_info']['flags']['msgbox_data']['Bad login or password'] = False;
|
||||
break;
|
||||
case 10:
|
||||
if($GLOBALS['phpgw_info']['server']['usecookies'])
|
||||
{
|
||||
Setcookie('sessionid');
|
||||
Setcookie('kp3');
|
||||
Setcookie('domain');
|
||||
}
|
||||
$GLOBALS['phpgw_info']['flags']['msgbox_data']['Your session could not be verified'] = False;
|
||||
break;
|
||||
}
|
||||
@ -114,7 +117,8 @@
|
||||
|
||||
# login will be set here if the user logged out and uses a different username with
|
||||
# the same SSL-certificate.
|
||||
if (!isset($login)&&isset($sslattributes['Email'])) {
|
||||
if (!isset($login)&&isset($sslattributes['Email']))
|
||||
{
|
||||
$login = $sslattributes['Email'];
|
||||
# not checked against the database, but delivered to authentication module
|
||||
$passwd = $HTTP_SERVER_VARS['SSL_CLIENT_S_DN'];
|
||||
|
Loading…
Reference in New Issue
Block a user