1
Vote

Not found vs login

description

I think then when an user is not logged on it would be better redirect to login instead to 404 page.
This can be easily done just changing all;

return HttpNotFound();

with:
return RedirectToAction("LogOn", "Account", new{Area = "Orchard.Users"});

comments