From b8d8ed151ed635d6f6840efab7d098eaa9dc35d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B9=E5=B3=B0?= Date: Thu, 20 Aug 2026 17:30:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=A1=B5=E9=9D=A2=E7=BC=93?= =?UTF-8?q?=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- YLErpWeb/Controllers/AccountController.cs | 1 + YLErpWeb/Views/Account/AdminLogin.cshtml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/YLErpWeb/Controllers/AccountController.cs b/YLErpWeb/Controllers/AccountController.cs index 889f8c9a..d70ff4b0 100644 --- a/YLErpWeb/Controllers/AccountController.cs +++ b/YLErpWeb/Controllers/AccountController.cs @@ -32,6 +32,7 @@ namespace YLErp.Web.Controllers // 如果上次登录失败,则显示验证码输入,否则不需要 //--------------------------------------- + [ResponseCache(NoStore = true)] public ActionResult Login(bool skipSso = false) { var logger = LogFactory.GetLogger(); diff --git a/YLErpWeb/Views/Account/AdminLogin.cshtml b/YLErpWeb/Views/Account/AdminLogin.cshtml index 5685b91b..f26d20bc 100644 --- a/YLErpWeb/Views/Account/AdminLogin.cshtml +++ b/YLErpWeb/Views/Account/AdminLogin.cshtml @@ -114,7 +114,7 @@ @if (ssoEnable) { - + }