diff --git a/src/Umbraco.Web/Security/Identity/UmbracoBackOfficeCookieAuthOptions.cs b/src/Umbraco.Web/Security/Identity/UmbracoBackOfficeCookieAuthOptions.cs
index afc00a27ed..5e6f9c85b8 100644
--- a/src/Umbraco.Web/Security/Identity/UmbracoBackOfficeCookieAuthOptions.cs
+++ b/src/Umbraco.Web/Security/Identity/UmbracoBackOfficeCookieAuthOptions.cs
@@ -89,38 +89,6 @@ namespace Umbraco.Web.Security.Identity
return cookieOptions;
}
-
- ///
- /// Creates the cookie options for saving the auth cookie
- ///
- ///
- ///
- ///
- public CookieOptions CreateRequestCookieOptions(IOwinContext ctx, AuthenticationTicket ticket)
- {
- if (ctx == null) throw new ArgumentNullException("ctx");
- if (ticket == null) throw new ArgumentNullException("ticket");
-
- var issuedUtc = ticket.Properties.IssuedUtc ?? SystemClock.UtcNow;
- var expiresUtc = ticket.Properties.ExpiresUtc ?? issuedUtc.Add(ExpireTimeSpan);
-
- var cookieOptions = new CookieOptions
- {
- Path = "/",
- Domain = this.CookieDomain ?? null,
- HttpOnly = true,
- Secure = this.CookieSecure == CookieSecureOption.Always
- || (this.CookieSecure == CookieSecureOption.SameAsRequest && ctx.Request.IsSecure),
- };
-
- if (ticket.Properties.IsPersistent)
- {
- cookieOptions.Expires = expiresUtc.ToUniversalTime().DateTime;
- }
-
- return cookieOptions;
- }
-
}
}
\ No newline at end of file