Skip to content
This repository was archived by the owner on Aug 1, 2021. It is now read-only.

Commit ac5626b

Browse files
committed
change put
1 parent 51f7a61 commit ac5626b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Frontend/Jp.UI.SSO/Controllers/Account/AccountController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public AccountController(
6262
/// <summary>
6363
/// Show login page
6464
/// </summary>
65-
[HttpGet, ResponseCache(Location = ResponseCacheLocation.Any, Duration = 120)]
65+
[HttpGet]
6666
public async Task<IActionResult> Login(string returnUrl)
6767
{
6868
// build a model so we know what to show on the login page

src/Frontend/Jp.UI.SSO/Views/Account/Login.cshtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<div class="card-body">
2020
<h1>@Localizer["Title-Login"]</h1>
2121
<p class="text-muted">@Localizer["Body-Sign"]</p>
22-
<form asp-route="Login" asp-antiforgery="false" >
22+
<form asp-route="Login">
2323
<div class="input-group mb-3">
2424
<div class="input-group-prepend">
2525
<span class="input-group-text">
@@ -34,7 +34,7 @@
3434
<i class="icon-lock"></i>
3535
</span>
3636
</div>
37-
<input type="password" class="form-control" placeholder="Password" value="@Configuration.GetSection("ApplicationSettings:DefaultPass").Value" asp-for=Password autocomplete="off">
37+
<input type="password" class="form-control" placeholder="Password" value="@Configuration.GetSection("ApplicationSettings:DefaultPass").Value" asp-for=Password autocomplete="off">
3838
</div>
3939
@if (Model.AllowRememberLogin)
4040
{

0 commit comments

Comments
 (0)