Skip to content

Commit

Permalink
GH Issue 3911
Browse files Browse the repository at this point in the history
Fix to init the DigiTrust facade object if the userId framework would not normally execute the call due to an ID being found.
  • Loading branch information
goosemanjack committed Jun 17, 2019
1 parent 842cc19 commit 1185a02
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions modules/digiTrustIdSystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,4 +336,14 @@ export const digiTrustIdSubmodule = {
_testInit: surfaceTestHook
};

// check for fallback init of DigiTrust
(function () {
setTimeout(function () {
if (resultHandler.retryId == 0 && !isInitialized()) {
// this triggers an init
getDigiTrustId({ member: 'fallback' }, function () { })
}
}, 1550);
})();

attachIdSystem(digiTrustIdSubmodule);

0 comments on commit 1185a02

Please sign in to comment.