更新代码,退出登录跳转网址通过FormAuthentication.LoginUrl指定
This commit is contained in:
parent
1e9e06bf29
commit
f521661e58
|
@ -64,7 +64,7 @@ namespace Bootstrap.Admin.Controllers
|
|||
public ActionResult Logout()
|
||||
{
|
||||
FormsAuthentication.SignOut();
|
||||
return RedirectToAction("Login");
|
||||
return Redirect(FormsAuthentication.LoginUrl);
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
|
|
Loading…
Reference in New Issue