Commit 192c48c6 authored by Sietse Ringers's avatar Sietse Ringers
Browse files

Fix new message for no-attribute disclosures

parent d02771dd
......@@ -518,6 +518,9 @@ func (client *Client) groupCredentials(choice *irma.DisclosureChoice, disjunctio
if identifier.IsCredential() {
attributeIndices[i] = []*irma.DisclosedAttributeIndex{
{AttributeIndex: 1, Identifier: ici},
continue // In this case we only disclose the metadata attribute, which is already handled
index, err := client.Configuration.CredentialTypes[identifier.CredentialTypeIdentifier()].IndexOf(identifier)
Supports Markdown
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