File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -338,7 +338,6 @@ export class Auth {
338338 // in case of redirect mode, redirect url will be dapp specified
339339 // in case of popup mode, redirect url will be sdk specified
340340 const defaultParams = {
341- redirectUrl : `${ this . dashboardUrl } /wallet/account` ,
342341 dappUrl : `${ window . location . origin } ${ window . location . pathname } ` ,
343342 } ;
344343
@@ -347,7 +346,12 @@ export class Auth {
347346 const dataObject : AuthSessionConfig = {
348347 actionType : AUTH_ACTIONS . MANAGE_MFA ,
349348 // manage mfa always opens in a new tab, so need to fix the uxMode to redirect.
350- options : { ...this . options , uxMode : "redirect" , sdkMode : SDK_MODE . DEFAULT } ,
349+ options : {
350+ ...this . options ,
351+ uxMode : UX_MODE . REDIRECT ,
352+ sdkMode : SDK_MODE . DEFAULT ,
353+ redirectUrl : `${ this . dashboardUrl } /wallet/account` ,
354+ } ,
351355 params : {
352356 ...defaultParams ,
353357 ...params ,
You can’t perform that action at this time.
0 commit comments