mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-24 18:25:04 +08:00
Ensure anonymous user access logon (#7581)
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user