TF-624 Hide credential form when oidc is available on browser

This commit is contained in:
dab246
2022-06-08 15:24:12 +07:00
committed by Dat H. Pham
parent 70cf445443
commit a393048418
6 changed files with 140 additions and 22 deletions
@@ -49,7 +49,7 @@ abstract class BaseLoginView extends GetWidget<LoginController> {
}
},
(success) {
if (loginController.loginFormType.value == LoginFormType.credentialForm || kIsWeb) {
if (loginController.loginFormType.value == LoginFormType.credentialForm) {
return AppLocalizations.of(context).loginInputCredentialMessage;
} else if (loginController.loginFormType.value == LoginFormType.ssoForm) {
return AppLocalizations.of(context).loginInputSSOMessage;