qol: formatting
This commit is contained in:
@@ -67,7 +67,8 @@ namespace Disco.Web.Controllers
|
||||
{
|
||||
if (!Request.IsLocal && !ServerIsCoreSKU.Value && !("true".Equals(ConfigurationManager.AppSettings["DiscoAllowRemoteMaintenance"], StringComparison.OrdinalIgnoreCase)))
|
||||
{
|
||||
filterContext.Result = new ContentResult() {
|
||||
filterContext.Result = new ContentResult()
|
||||
{
|
||||
Content = "Initial Configuration of Disco ICT is only allowed via a localhost connection",
|
||||
ContentType = "text/plain"
|
||||
};
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
using System;
|
||||
using Disco.Services.Authorization;
|
||||
using Disco.Services.Interop;
|
||||
using Disco.Services.Plugins;
|
||||
using Disco.Services.Users;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Web.Mvc;
|
||||
using Disco.Services.Plugins;
|
||||
using Disco.Services.Authorization;
|
||||
using Disco.Services.Users;
|
||||
using Disco.Services.Interop;
|
||||
|
||||
namespace Disco.Web.Controllers
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user