Verified Commit db589e40 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #17109 TIME 0:15 Do not return external signatureMode

parent 7abea573
......@@ -152,6 +152,12 @@ class AutoCompleteController
}
$curlResponse['response'][$key]['idToDisplay'] = $value['firstname'] . ' ' . $value['lastname'];
$curlResponse['response'][$key]['externalId']['maarchParapheur'] = $value['id'];
// Remove external value in signatureModes
$array = $curlResponse['response'][$key]['signatureModes'];
unset($array[array_search('external', $array)]);
$array = array_values($array);
$curlResponse['response'][$key]['signatureModes'] = $array;
}
return $response->withJson($curlResponse['response']);
} else {
......
Markdown is supported
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