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
immerda
Immerda Apps
iapi
Commits
a810adcb
Commit
a810adcb
authored
Oct 04, 2021
by
o@immerda.ch
Browse files
fix npe for wrong sp ids
parent
173f82b2
Pipeline
#8936
passed with stage
in 2 minutes and 41 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib/iapi/routes/auth.rb
View file @
a810adcb
...
@@ -24,7 +24,7 @@ class IApi < Sinatra::Base
...
@@ -24,7 +24,7 @@ class IApi < Sinatra::Base
user
=
AuthManager
.
auth
(
email
,
parsed_body
,
user
=
AuthManager
.
auth
(
email
,
parsed_body
,
false
,
false
,
unlock:
parsed_body
[
'unlock'
],
unlock:
parsed_body
[
'unlock'
],
master_pw:
info
[
:needs_master_pw
],
master_pw:
info
&&
info
[
:needs_master_pw
],
trusted:
true
,
trusted:
true
,
totp:
parsed_body
[
'totp'
],
totp:
parsed_body
[
'totp'
],
webauthn:
parsed_body
[
'webauthn'
],
webauthn:
parsed_body
[
'webauthn'
],
...
...
Write
Preview
Supports
Markdown
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