' . lang('Bad login or password') . ''; case 6: return '' . lang('Your password has expired, and you do not have access to change it') . ''; case 98: return '' . lang('Account is expired') . ''; case 99: return '' . lang('Blocked, too many attempts(%1)! Retry in %2 minute(s)',$GLOBALS['phpgw_info']['server']['num_unsuccessful_id'],$GLOBALS['phpgw_info']['server']['block_time']) . ''; case 200: //return '' . lang('Invalid code') . ''; return '' . lang('Bad login or password') . ''; break; case 10: $GLOBALS['phpgw']->session->phpgw_setcookie('sessionid'); $GLOBALS['phpgw']->session->phpgw_setcookie('kp3'); $GLOBALS['phpgw']->session->phpgw_setcookie('domain'); //fix for bug php4 expired sessions bug if($GLOBALS['phpgw_info']['server']['sessions_type'] == 'php4') { $GLOBALS['phpgw']->session->phpgw_setcookie(PHPGW_PHPSESSID); } return '' . lang('Your session could not be verified.') . ''; default: return ''; } } ?>