From 238c15888b6c1c2be650b45cf444c37300908996 Mon Sep 17 00:00:00 2001 From: JulianAlcala Date: Fri, 17 Apr 2026 03:05:59 +0200 Subject: [PATCH] fix(interceptor): disable 500 token-expired handler in legacy mode --- apps/mobile_app/lib/core/init_app.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mobile_app/lib/core/init_app.dart b/apps/mobile_app/lib/core/init_app.dart index 84c630d4..2401c8f7 100644 --- a/apps/mobile_app/lib/core/init_app.dart +++ b/apps/mobile_app/lib/core/init_app.dart @@ -39,7 +39,7 @@ Future initApp(EnvironmentEnum env) async { log: env.isDevelopment || kDebugMode, onTokenExpired: isPaymentMode ? () => appRouter.go(AppRoutes.scaTreezor) - : () => appRouter.go(AppRoutes.legacyLogin), + : null, onUnauthorized: () async { final currentLocation = appRouter.routerDelegate.currentConfiguration.uri.path;