set the start page in web.config file,Views/Account/Login
<system.web>
<authentication mode="Forms">
<forms loginUrl="~/Account/Login" timeout="2880" />
</authentication>
</system.web>
set the start page in web.config file,Views/Account/Login
<system.web>
<authentication mode="Forms">
<forms loginUrl="~/Account/Login" timeout="2880" />
</authentication>
</system.web>
转载于:https://www.cnblogs.com/ganting/p/4562108.html