From f521661e58fb5ca702976403dda31da4b4f69462 Mon Sep 17 00:00:00 2001 From: Argo-Lenovo Date: Sun, 15 Jan 2017 21:48:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BB=A3=E7=A0=81=EF=BC=8C?= =?UTF-8?q?=E9=80=80=E5=87=BA=E7=99=BB=E5=BD=95=E8=B7=B3=E8=BD=AC=E7=BD=91?= =?UTF-8?q?=E5=9D=80=E9=80=9A=E8=BF=87FormAuthentication.LoginUrl=E6=8C=87?= =?UTF-8?q?=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.Admin/Controllers/HomeController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bootstrap.Admin/Controllers/HomeController.cs b/Bootstrap.Admin/Controllers/HomeController.cs index 49b3ef20..4d7b3372 100644 --- a/Bootstrap.Admin/Controllers/HomeController.cs +++ b/Bootstrap.Admin/Controllers/HomeController.cs @@ -64,7 +64,7 @@ namespace Bootstrap.Admin.Controllers public ActionResult Logout() { FormsAuthentication.SignOut(); - return RedirectToAction("Login"); + return Redirect(FormsAuthentication.LoginUrl); } /// ///