Commit 65567254 authored by Sietse Ringers's avatar Sietse Ringers
Browse files

Remove too early save of new keyshare server from auto-issuance handler

parent 3664e44d
......@@ -23,7 +23,6 @@ func (h *keyshareEnrollmentHandler) RequestIssuancePermission(request irma.Issua
smi := request.Credentials[0].CredentialTypeID.IssuerIdentifier().SchemeManagerIdentifier()
attr := irma.NewAttributeTypeIdentifier(h.client.Configuration.SchemeManagers[smi].KeyshareAttribute)
h.kss.Username = request.Credentials[0].Attributes[attr.Name()]
h.client.storage.StoreKeyshareServers(h.client.keyshareServers)
// Do the issuance
callback(true, nil)
......
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