A bot try to have access to extranet (for use with index/portefeuillecsv - altiscore) - Check basically the validity of get_browser
This commit is contained in:
parent
0307a45af5
commit
669b538a97
@ -54,8 +54,12 @@ class Application_Controller_Plugin_Auth extends Zend_Controller_Plugin_Abstract
|
||||
|
||||
$user = new Scores_Utilisateur();
|
||||
$info = get_browser();
|
||||
$isMobile = ($info->ismobiledevice==1) ? 1 : 0;
|
||||
$user->setBrowserInfo($info->platform, $info->browser, $info->version, $isMobile);
|
||||
if ( $info ) {
|
||||
$isMobile = ($info->ismobiledevice==1) ? 1 : 0;
|
||||
$user->setBrowserInfo($info->platform, $info->browser, $info->version, $isMobile);
|
||||
} else {
|
||||
//Save botnet information
|
||||
}
|
||||
|
||||
} else {
|
||||
$messageF = '';
|
||||
|
Loading…
Reference in New Issue
Block a user