Changeset 5036 for trunk/phpgwapi/templates
- Timestamp:
- 09/05/11 16:51:41 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/templates/default/login_default.php
r4994 r5036 12 12 \**************************************************************************/ 13 13 14 function check_logoutcode($code)14 function check_logoutcode($code) 15 15 { 16 16 switch($code) … … 35 35 36 36 case 99: 37 37 return '<font color="FF0000">' . lang('Blocked, too many attempts(%1)! Retry in %2 minute(s)',$GLOBALS['phpgw_info']['server']['num_unsuccessful_id'],$GLOBALS['phpgw_info']['server']['block_time']) . '</font>'; 38 38 case 200: 39 39 //return '<font color="FF0000">' . lang('Invalid code') . '</font>'; 40 40 return '<font color="FF0000">' . lang('Bad login or password') . '</font>'; 41 41 break; 42 42 case 10: … … 180 180 $login .= '@'.$GLOBALS['phpgw_info']['server']['default_domain']; 181 181 } 182 If(!$_GET['cd']) 183 $GLOBALS['sessionid'] = $GLOBALS['phpgw']->session->create(strtolower($login),$passwd,$passwd_type,'u'); 182 183 If(!$_GET['cd']) 184 $GLOBALS['sessionid'] = $GLOBALS['phpgw']->session->create(strtolower($login),$passwd,$passwd_type,'u'); 184 185 185 186 if(!isset($GLOBALS['sessionid']) || ! $GLOBALS['sessionid']) 186 187 { 187 188 If(!$_GET['cd']) $_GET['cd'] = $GLOBALS['phpgw']->session->cd_reason; 188 If(!$_GET['cd']) $_GET['cd'] = $GLOBALS['phpgw']->session->cd_reason; 189 189 } 190 190 else … … 586 586 587 587 $tmpl->pfp('loginout','login_form'); 588 } 588 589 589 590 ?>
Note: See TracChangeset
for help on using the changeset viewer.