mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-08 14:30:05 +01:00
fix indention
This commit is contained in:
parent
207b7de248
commit
c059a2cfa3
13
login.php
13
login.php
@ -228,14 +228,13 @@ else
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(isset($passwd_type) || $_POST['submitit_x'] || $_POST['submitit_y'] || $submit)
|
if(isset($passwd_type) || $_POST['submitit_x'] || $_POST['submitit_y'] || $submit)
|
||||||
// isset($_POST['passwd']) && $_POST['passwd']) // enable konqueror to login via Return
|
|
||||||
{
|
{
|
||||||
if(getenv('REQUEST_METHOD') != 'POST' && $_SERVER['REQUEST_METHOD'] != 'POST' &&
|
if(getenv('REQUEST_METHOD') != 'POST' && $_SERVER['REQUEST_METHOD'] != 'POST' &&
|
||||||
!isset($_SERVER['PHP_AUTH_USER']) && !isset($_SERVER['SSL_CLIENT_S_DN']))
|
!isset($_SERVER['PHP_AUTH_USER']) && !isset($_SERVER['SSL_CLIENT_S_DN']))
|
||||||
{
|
{
|
||||||
$GLOBALS['egw']->session->egw_setcookie('eGW_remember','',0,'/');
|
$GLOBALS['egw']->session->egw_setcookie('eGW_remember','',0,'/');
|
||||||
egw::redirect_link('/login.php','cd=5');
|
egw::redirect_link('/login.php','cd=5');
|
||||||
}
|
}
|
||||||
#if(!isset($_COOKIE['eGroupWareLoginTime']))
|
#if(!isset($_COOKIE['eGroupWareLoginTime']))
|
||||||
#{
|
#{
|
||||||
# $GLOBALS['egw']->redirect($GLOBALS['egw']->link('/login.php','cd=4'));
|
# $GLOBALS['egw']->redirect($GLOBALS['egw']->link('/login.php','cd=4'));
|
||||||
|
Loading…
Reference in New Issue
Block a user