Commit 68f296e7 authored by Sietse Ringers's avatar Sietse Ringers
Browse files

Send empty RemovalCredentialInfoList instead of nil

parent 0da3c2ff
......@@ -222,6 +222,7 @@ func (session *session) processSessionInfo() {
}
// Calculate singleton credentials to be removed
ir.RemovalCredentialInfoList = irma.CredentialInfoList{}
for _, credreq := range ir.Credentials {
preexistingCredentials := session.client.attrs(credreq.CredentialTypeID)
if len(preexistingCredentials) != 0 && preexistingCredentials[0].IsValid() && preexistingCredentials[0].CredentialType().IsSingleton {
......
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