adds some notes

This commit is contained in:
Shannon
2014-08-20 18:04:05 -06:00
parent 81d8a90f59
commit de1b69d5ae
2 changed files with 10 additions and 1 deletions

View File

@@ -3,7 +3,7 @@ using System.Linq;
using System.Threading;
using System.Globalization;
using System.IO;
using System.Web.Security;
using Umbraco.Core;
using Umbraco.Core.Configuration;
using Umbraco.Core.IO;
@@ -518,6 +518,11 @@ namespace Umbraco.Web.Routing
{
LogHelper.Debug<PublishedContentRequestEngine>("{0}Page is protected, check for access", () => tracePrefix);
//TODO: We coud speed this up, the only reason we are looking up the members is for it's
// ProviderUserKey (id). We could store this id in the FormsAuth cookie custom data when
// a member logs in. Then we can check if the value exists and just use that, otherwise lookup
// the member like we are currently doing.
System.Web.Security.MembershipUser user = null;
try
{