Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IRMA
Github mirrors
irmago
Commits
68f296e7
Commit
68f296e7
authored
Sep 05, 2018
by
Sietse Ringers
Browse files
Send empty RemovalCredentialInfoList instead of nil
parent
0da3c2ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
irmaclient/session.go
View file @
68f296e7
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment