Skip to content

Commit 9108c09

Browse files
remove default true value for consentRequired
1 parent 7a4cf10 commit 9108c09

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/modal/src/modalManager.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,6 @@ export class Web3Auth extends Web3AuthNoModal implements IWeb3AuthModal {
116116
this.analytics.setGlobalProperties({ team_id: projectConfig.teamId });
117117
trackData = this.getInitializationTrackData();
118118

119-
// TODO: remove override — testing consent flow
120-
(this.options.uiConfig as Record<string, unknown>).consentRequired = true;
121119
if (!this.options.uiConfig.privacyPolicy) this.options.uiConfig.privacyPolicy = "https://example.com/privacy";
122120
if (!this.options.uiConfig.tncLink) this.options.uiConfig.tncLink = "https://example.com/terms";
123121

0 commit comments

Comments
 (0)