mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-01-19 09:42:29 +08:00
Adding debug logging to AAD authentication failures
This commit is contained in:
@@ -88,7 +88,7 @@ namespace Orchard.OpenId.OwinMiddlewares {
|
||||
AuthenticationFailed = context => {
|
||||
context.HandleResponse();
|
||||
context.Response.Redirect(Constants.General.AuthenticationErrorUrl);
|
||||
|
||||
Logger.Debug(context.Exception, "AAD authentication failed.");
|
||||
return Task.FromResult(0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user