This commit is contained in:
Joe Farebrother
2023-06-26 18:05:11 +01:00
parent 1d64d1297c
commit c419e8d24a
2 changed files with 2 additions and 2 deletions

View File

@@ -1 +1 @@
| ProfileController.cs:8:25:8:31 | Delete1 | This action is missing an authorization check. |
| ProfileController.cs:9:25:9:31 | Delete1 | This action is missing an authorization check. |

View File

@@ -23,7 +23,7 @@ public class ProfileController : Controller {
// GOOD: The Authorize attribute is used.
[Authorize]
public ActionResult Delete3(int id) {
doThings()
doThings();
return View();
}