Ensure anonymous user access logon (#7581)

This commit is contained in:
andy
2017-03-02 16:05:05 -05:00
committed by Sébastien Ros
parent e0e8daedca
commit 7fa189b4b8

View File

@@ -47,6 +47,7 @@ namespace Orchard.OpenId.Controllers
public ILogger Logger { get; set; } public ILogger Logger { get; set; }
public Localizer T { get; set; } public Localizer T { get; set; }
[AlwaysAccessible]
[HttpGet] [HttpGet]
public ActionResult LogOn(string returnUrl) { public ActionResult LogOn(string returnUrl) {
if (Request.IsAuthenticated) { if (Request.IsAuthenticated) {