Fix default browser warning dialog is auto shown when get 401 error

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-04-15 16:40:48 +07:00
committed by Dat H. Pham
parent 37c0aa9cf4
commit 440ea10aff
3 changed files with 11 additions and 1 deletions
+1
View File
@@ -191,6 +191,7 @@ abstract class BaseController extends GetxController
}
Future<void> _executeBeforeReconnectAndLogOut() async {
twakeAppManager.setExecutingBeforeReconnect(true);
await executeBeforeReconnect();
clearDataAndGoToLoginPage();
}