Commit 0d657ef2 authored by o@immerda.ch's avatar o@immerda.ch
Browse files

fix npe for wrong sp ids

parent 82ecbfb6
Pipeline #8937 passed with stage
in 2 minutes and 28 seconds
......@@ -24,7 +24,7 @@ class IApi < Sinatra::Base
user = AuthManager.auth(email, parsed_body,
false,
unlock: parsed_body['unlock'],
master_pw: info[:needs_master_pw],
master_pw: info && info[:needs_master_pw],
trusted: true,
totp: parsed_body['totp'],
webauthn: parsed_body['webauthn'],
......
Supports Markdown
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