Skip to content

Commit

Permalink
Fixed home redirect after log in- WEB
Browse files Browse the repository at this point in the history
  • Loading branch information
crni99 committed Sep 23, 2024
1 parent 4c46caf commit b2008b3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public IActionResult Index(bool logout = false)
string token = _httpCallService.GetToken();
if (!string.IsNullOrEmpty(token))
{
return Redirect("/");
return Redirect("HealthCheck");
}
return View("Index");
}
Expand All @@ -44,7 +44,7 @@ public async Task<IActionResult> Authenticate(UserViewModel user)
_alertService.SetAlertMessage(TempData, "login_failed", false);
return Redirect("/");
}
return Redirect("TravelClass");
return Redirect("HealthCheck");
}
else { return RedirectToAction("Index"); }
}
Expand Down

0 comments on commit b2008b3

Please sign in to comment.