From 4be72644015c03e4b819fe6304651052659d57fe Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Tue, 31 Jan 2017 13:06:41 +0100 Subject: [PATCH] spoil --- Yavsc/ApiControllers/AccountController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Yavsc/ApiControllers/AccountController.cs b/Yavsc/ApiControllers/AccountController.cs index 5e06548f..fd98128b 100644 --- a/Yavsc/ApiControllers/AccountController.cs +++ b/Yavsc/ApiControllers/AccountController.cs @@ -14,7 +14,7 @@ namespace Yavsc.WebApi.Controllers using Yavsc.Helpers; using System; - [Authorize,Route("~/api/account"),Obsolete] + [Authorize("AdministratorOnly"),Route("~/api/account"),Obsolete] public class ApiAccountController : Controller {