Skip to content
Snippets Groups Projects
Commit 64f1b8ad authored by efalcy's avatar efalcy
Browse files

CVS : si pas d'abonnement SIGB on prends le login comme identifiant

parent 73f0e42d
Branches
Tags
No related merge requests found
......@@ -101,7 +101,8 @@ class Class_CVSLink extends Class_WebService_Abstract {
$time = $this->getCurrentTime();
$key = md5($user->getIdabon()
$loginCVS = $user->getIdabon() ? $user->getIdabon() : $user->getLogin();
$key = md5($loginCVS
.$this->bmid
.$this->bmkey
.$this->sourceName
......@@ -118,7 +119,8 @@ class Class_CVSLink extends Class_WebService_Abstract {
<sourceid>".$this->sourceId."</sourceid>
<key>{$key}</key>
<time>{$time}</time>
".($user->getIdabon() ? ("<adhid>".$user->getIdabon()."</adhid>") : "")."
<adhid>".$loginCVS.
"</adhid>
<action>{$action}</action>
</header>";
if($action == "acces_site"){
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment