This repository was archived by the owner on Aug 1, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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" >
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 {
You can’t perform that action at this time.
0 commit comments