Fixing all the TODO, FIXME & HACK comments so they all follow the same layout.

This commit is contained in:
Chris Houston
2019-01-27 01:17:32 -05:00
committed by Sebastiaan Janssen
parent d31e25281d
commit 193e24afd2
338 changed files with 573 additions and 586 deletions

View File

@@ -84,7 +84,7 @@ namespace Umbraco.Web.Security
//if it's time to renew, then do it
if (timeRemaining < timeElapsed)
{
//TODO: This would probably be simpler just to do: context.OwinContext.Authentication.SignIn(context.Properties, identity);
// TODO: This would probably be simpler just to do: context.OwinContext.Authentication.SignIn(context.Properties, identity);
// this will invoke the default Cookie middleware to basically perform this logic for us.
ticket.Properties.IssuedUtc = currentUtc;
@@ -123,7 +123,7 @@ namespace Umbraco.Web.Security
}
}
//Hack! we need to suppress the stupid forms authentication module but we can only do that by using non owin stuff
// HACK: we need to suppress the stupid forms authentication module but we can only do that by using non owin stuff
if (HttpContext.Current != null && HttpContext.Current.Response != null)
{
HttpContext.Current.Response.SuppressFormsAuthenticationRedirect = true;