Ne pas envoyer d'erreur soap lorsque erreur d'identification

This commit is contained in:
Michael RICOIS 2009-04-21 08:10:57 +00:00
parent 43898d89b8
commit e9d862fc04

View File

@ -148,8 +148,10 @@ if($_REQUEST['action']=='logon' || $_SESSION['connected']==FALSE)
die();
}
} catch (SoapFault $fault) {
if($fault->faultcode!='900'){
require_once 'soaperror.php';
processSoapFault($client,$fault,$tabInfo);
}
$message="Erreur 10301 : Identifiant de connexion et/ou mot de passe incorrect !";
include('./pages/logout.php');
die();