Disable multi-account detection as IPv6 are not handle properly
This commit is contained in:
parent
a5586af0ba
commit
96ed0d7787
@ -248,17 +248,17 @@ if ((isset($_GET['l']) && isset($_GET['p'])) || (isset($_POST['HB_login']) && is
|
||||
$SESS->values['idAsteroide'] = 0;
|
||||
|
||||
//Si on détecte le multi-compte, on interdit l'accès au panneau d'admin
|
||||
if (empty($multi))
|
||||
$SESS->level = 1;
|
||||
else
|
||||
//if (empty($multi))
|
||||
// $SESS->level = 1;
|
||||
//else
|
||||
$SESS->level = $resultat['auth_level'];
|
||||
|
||||
$SESS->put($resultat['id']);
|
||||
|
||||
if (!empty($resultat['last_visite']) && $message['time'] > $resultat['last_visite'])
|
||||
redirection('./'.$VAR['first_page'].'?p=demarrage');
|
||||
elseif (empty($multi))
|
||||
redirection('./'.$VAR['first_page'].'?p=avertmulti');
|
||||
//elseif (empty($multi))
|
||||
// redirection('./'.$VAR['first_page'].'?p=avertmulti');
|
||||
else
|
||||
redirection('./'.$VAR['first_page'].'?p=accueil');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user