[FIX] parameter array for issuing

This commit is contained in:
Florian Weiss 2020-05-20 16:58:02 +02:00
parent 04634f4278
commit f765b1fbff

View file

@ -25,13 +25,11 @@ class Issuer {
$requestData['SkillId'] = $ID;
}
$requestData = [
"Level" => $vtype,
"VerifierId" => $this->settings->getVerifierID(),
"Username" => $useremail,
"AutoConfirm" => true,
"Signature" => ''
];
$requestData['Level'] = $vtype;
$requestData['VerifierId'] = $this->settings->getVerifierID();
$requestData['Username'] = $useremail;
$requestData['AutoConfirm'] = true;
$requestData['Signature'] = '';
$json = json_encode($requestData);
$signature = ($vtype==="self") ? 'sdself' : $this->settings->getUserSecret();