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:
Lombiq
2018-08-29 13:29:02 +02:00
committed by Zoltán Lehóczky
parent 6a7d4cc178
commit 0c455689d7
@@ -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);