Commit 0d270351 authored by Jonathon Duerig's avatar Jonathon Duerig
Browse files

Patch from Brecht -- Fix GetCredentials in federation SA

parent 04613005
......@@ -190,7 +190,13 @@ sub GetCredentials()
return GeniResponse->MalformedArgsResponse('Requires a slice urn, a list of credentials, and an options field');
}
my $credential = GeniSA::GetCredential({ "urn" => $slice_urn });
my $user_credential = GeniStd::CheckCredentials(GeniStd::FilterCredentials($credential_args));
return $user_credential
if (GeniResponse::IsResponse($user_credential));
my $credential = GeniSA::GetCredential({
"urn" => $slice_urn,
"credential" => $user_credential });
return $credential
if (GeniResponse::IsError($credential));
......
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