mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Making possible to log in via OpenId even if the site's frontend is completely locked down for anonymous users
This commit is contained in:
@@ -85,6 +85,7 @@ namespace Orchard.OpenId.Controllers
|
||||
return this.RedirectLocal(returnUrl);
|
||||
}
|
||||
|
||||
[AlwaysAccessible]
|
||||
[SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings", Justification = "Needs to take same parameter type as Controller.Redirect()")]
|
||||
public void Challenge(string openIdProvider, string returnUrl) {
|
||||
_userEventHandler.LoggingIn(openIdProvider, String.Empty);
|
||||
|
||||
Reference in New Issue
Block a user