Merge pull request #5122 from sbwalker/dev
remove unnecessary log message
This commit is contained in:
commit
cc720ff399
|
@ -50,7 +50,6 @@ namespace Oqtane.Pages
|
||||||
{
|
{
|
||||||
if (string.IsNullOrWhiteSpace(path))
|
if (string.IsNullOrWhiteSpace(path))
|
||||||
{
|
{
|
||||||
_logger.Log(LogLevel.Error, this, LogFunction.Security, "Unauthorized File Access Attempt - Path Not Specified For Site {SiteId}", _alias.SiteId);
|
|
||||||
HttpContext.Response.StatusCode = (int)HttpStatusCode.Forbidden;
|
HttpContext.Response.StatusCode = (int)HttpStatusCode.Forbidden;
|
||||||
return BrokenFile();
|
return BrokenFile();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user