File tree 2 files changed +14
-0
lines changed
controllers/idv/hybrid_mobile
2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,13 @@ def show
13
13
14
14
return handle_invalid_document_capture_session if !validate_document_capture_user_id
15
15
16
+ # to be removed 50/50 - start
17
+ unless document_capture_session . doc_auth_vendor
18
+ document_capture_session
19
+ . update! ( doc_auth_vendor : IdentityConfig . store . doc_auth_vendor_default )
20
+ end
21
+ # to be removed 50/50 - end
22
+
16
23
case document_capture_session . doc_auth_vendor
17
24
when Idp ::Constants ::Vendors ::SOCURE , Idp ::Constants ::Vendors ::SOCURE_MOCK
18
25
redirect_to idv_hybrid_mobile_socure_document_capture_url
Original file line number Diff line number Diff line change @@ -330,6 +330,13 @@ def document_capture_session_uuid
330
330
end
331
331
332
332
def doc_auth_client
333
+ # to be removed 50/50 - start
334
+ unless document_capture_session . doc_auth_vendor
335
+ document_capture_session
336
+ . update! ( doc_auth_vendor : IdentityConfig . store . doc_auth_vendor_default )
337
+ end
338
+ # to be removed 50/50 - end
339
+
333
340
@doc_auth_client ||= DocAuthRouter . client (
334
341
vendor : document_capture_session . doc_auth_vendor ,
335
342
warn_notifier : proc do |attrs |
You can’t perform that action at this time.
0 commit comments