This commit is contained in:
mmrbnjd
2025-07-14 16:28:42 +03:30
parent 1e3a7d7902
commit e1848869fe
2 changed files with 15 additions and 48 deletions

View File

@@ -88,20 +88,6 @@
Username = username,
Password = Password
});
// if (msg == "PhoneNumberNotConfirmed")
// {
// var confirmation = await dialog.ShowAsync(
// title: "احراز کاربری",
// message1: "کاربری/ موبایل شما فعال نشده برای ورود باید احراز کنید",
// message2: "انجام بدیم؟");
// if (!confirmation)
// {
// Loading = false;
// return;
// }
// await verification();
// }
// else
if (msg == "ok")
{
navigationManager.NavigateTo("/");
@@ -111,19 +97,5 @@
Loading = false;
}
// async Task verification()
// {
// var parameters = new Dictionary<string, object>();
// parameters.Add("type", VerificationCodeType.PhoneNumberConfirmed);
// parameters.Add("sendValue", username);
// parameters.Add("ID", 0);
// parameters.Add("OnMultipleOfThree", EventCallback.Factory.Create<VerificationCodeType>(this, CallBackVer));
// parameters.Add("Title", "کاربری/ موبایل شما فعال نشده برای ورود باید احراز کنید");
// await modal.ShowAsync<Verification>(title: "احراز", parameters: parameters);
// }
// async Task CallBackVer(VerificationCodeType type)
// {
// await modal.HideAsync();
// }
}