Commit 392daf80 authored by Sietse Ringers's avatar Sietse Ringers
Browse files

Fix reversed equality check in irmaserver backend

parent df9b27b9
......@@ -103,7 +103,7 @@ func StartSession(request irma.SessionRequest) (*irma.Qr, string, error) {
func GetSessionResult(token string) *irmaserver.SessionResult {
session := sessions.get(token)
if session != nil {
if session == nil {
return nil
}
return 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