Commit 218dbc6f authored by Sietse Ringers's avatar Sietse Ringers Committed by Ivar Derksen
Browse files

fix: check error when creating result JWT for nextSession URL

parent 762fc7f0
...@@ -262,6 +262,9 @@ func (session *session) nextSession() (irma.RequestorRequest, irma.AttributeConD ...@@ -262,6 +262,9 @@ func (session *session) nextSession() (irma.RequestorRequest, irma.AttributeConD
base.ResultJwtValidity, base.ResultJwtValidity,
session.conf.JwtRSAPrivateKey, session.conf.JwtRSAPrivateKey,
) )
if err != nil {
return nil, nil, err
}
} else { } else {
res = session.result res = session.result
} }
......
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