From 7afdbeff4536e459643f6cae08a0af3b6bc04af7 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Tue, 23 Feb 2021 11:46:53 +0200 Subject: [PATCH] OAuth --- lib/utils/dialogs.dart | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/utils/dialogs.dart b/lib/utils/dialogs.dart index 59cebf315..a21519fb5 100644 --- a/lib/utils/dialogs.dart +++ b/lib/utils/dialogs.dart @@ -108,6 +108,11 @@ void passwordCallback({ if (state.authState.hasRecentlyEnteredPassword && !alwaysRequire) { callback(null); } else { + if (state.user.oauthProvider.isNotEmpty) { + // + // !state.company.ouathPasswordRequired + } + showDialog( context: context, barrierDismissible: false,