@@ -351,11 +351,14 @@ define(function (require, exports, module) {
351351
352352 if ( ! result . isSuccess ) {
353353 console . error ( 'Error logging out' , result ) ;
354- Dialogs . showModalDialog (
354+ const dialog = Dialogs . showModalDialog (
355355 DefaultDialogs . DIALOG_ID_ERROR ,
356356 Strings . SIGNED_OUT_FAILED_TITLE ,
357357 Strings . SIGNED_OUT_FAILED_MESSAGE
358358 ) ;
359+ dialog . done ( ( ) => {
360+ NativeApp . openURLInDefaultBrowser ( Phoenix . config . account_url + "#advanced" ) ;
361+ } ) ;
359362 Metrics . countEvent ( Metrics . EVENT_TYPE . AUTH , 'logoutFail' , Phoenix . platform ) ;
360363 return ;
361364 }
@@ -368,11 +371,14 @@ define(function (require, exports, module) {
368371 Metrics . countEvent ( Metrics . EVENT_TYPE . AUTH , 'logoutOK' , Phoenix . platform ) ;
369372 } catch ( error ) {
370373 console . error ( "Network error. Could not log out session." , error ) ;
371- Dialogs . showModalDialog (
374+ const dialog = Dialogs . showModalDialog (
372375 DefaultDialogs . DIALOG_ID_ERROR ,
373376 Strings . SIGNED_OUT_FAILED_TITLE ,
374377 Strings . SIGNED_OUT_FAILED_MESSAGE
375378 ) ;
379+ dialog . done ( ( ) => {
380+ NativeApp . openURLInDefaultBrowser ( Phoenix . config . account_url + "#advanced" ) ;
381+ } ) ;
376382 Metrics . countEvent ( Metrics . EVENT_TYPE . AUTH , 'getAppAuth' , Phoenix . platform ) ;
377383 logger . reportError ( error , "Failed to call logout calling" + resolveURL ) ;
378384 }
0 commit comments