remove unnecessary log message
This commit is contained in:
parent
659950996d
commit
29f07f6c56
|
@ -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