From 682b4ed3228f2cec35b070c31e184b75d143ee78 Mon Sep 17 00:00:00 2001 From: Dyon Beumer Date: Thu, 6 Oct 2016 12:28:27 +0200 Subject: [PATCH] Added authorization for homepage --- WebApplication1/WebApplication1/Controllers/HomeController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/WebApplication1/WebApplication1/Controllers/HomeController.cs b/WebApplication1/WebApplication1/Controllers/HomeController.cs index eb10c6d..625fa48 100644 --- a/WebApplication1/WebApplication1/Controllers/HomeController.cs +++ b/WebApplication1/WebApplication1/Controllers/HomeController.cs @@ -6,6 +6,7 @@ namespace WebApplication1.Controllers { + [Authorize] public class HomeController : Controller { public ActionResult Index()