whole project pushed

This commit is contained in:
2025-08-23 16:13:20 +03:30
parent 1cbde63229
commit 76a1e32e34
36 changed files with 1798 additions and 315 deletions

View File

@ -128,7 +128,12 @@
toastr.success('ورود با موفقیت انجام شد !!!');
setTimeout(function () {
if (Return == '') {
location.href = "Index";
if (data.role == 'Admin') {
location.href = "Index";
}
else {
location.href = '@Url.Action("AllNews", "Home")';
}
} else {
location.href = Return;
}
@ -150,7 +155,6 @@
}).always(function () {
});
} else {
toastr.error('کد تایید را وارد کنید.');
}
}