We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa631d0 commit 87a21feCopy full SHA for 87a21fe
src/OrchardCore.Modules/OrchardCore.Users/Services/ExternalLoginFormEvents.cs
@@ -35,6 +35,14 @@ public ExternalLoginFormEvents(
35
_httpContextAccessor = httpContextAccessor;
36
}
37
38
+ public override Task LoggedInAsync(IUser user)
39
+ {
40
+ var tempData = _tempDataDictionaryFactory.GetTempData(_httpContextAccessor.HttpContext);
41
+ tempData.Remove(ExternalLoginAutoRedirectKeyName);
42
+
43
+ return Task.CompletedTask;
44
+ }
45
46
public override async Task<IActionResult> LoggingInAsync()
47
{
48
if (!_externalLoginOptions.UseExternalProviderIfOnlyOneDefined)
0 commit comments