diff --git a/lib/widgets/auth/verfiy_account.dart b/lib/widgets/auth/verfiy_account.dart index e4e4d787..bf050556 100644 --- a/lib/widgets/auth/verfiy_account.dart +++ b/lib/widgets/auth/verfiy_account.dart @@ -257,7 +257,7 @@ class _VerifyAccountState extends State { Map model = { "activationCode": activationCode, "DoctorID": _loggedUser['DoctorID'], - // "LogInTokenID": _loggedUser['LogInTokenID'], + "LogInTokenID": _loggedUser['LogInTokenID'], "ProjectID": 15, "LanguageID": 2, "stamp": "2020-02-26T14:48:27.221Z", @@ -270,7 +270,6 @@ class _VerifyAccountState extends State { "IsSilentLogIN": false }; changeLoadingStata(true); - Navigator.of(context).pushNamed(HOME); authProv.memberCheckActivationCodeNew(model).then((res) { changeLoadingStata(false); diff --git a/lib/widgets/auth/verification_methods.dart b/lib/widgets/auth/verification_methods.dart index 1bb85c30..53c671e4 100644 --- a/lib/widgets/auth/verification_methods.dart +++ b/lib/widgets/auth/verification_methods.dart @@ -197,6 +197,7 @@ class _VerificationMethodsState extends State { if (res['MessageStatus'] == 1) { Navigator.of(context).pushNamed(VERIFY_ACCOUNT); } else { + print(res['ErrorEndUserMessage']); helpers.showErrorToast(res['ErrorEndUserMessage']); } // Navigator.of(context).pushNamed(HOME);