refactor: to enable oauth during registration, use the appropriate controller.

This commit is contained in:
2024-12-28 07:46:06 +03:00
parent 61a11ea223
commit 1de344ac25
3 changed files with 44 additions and 16 deletions

View File

@ -332,7 +332,7 @@ public class OAuthService(ILogger<OAuthService> logger, Dictionary<OAuthProvider
var requestInfo = new RequestContextInfo(context, cookieOptions);
var result = await cache.GetAsync<OAuthUserExtension>(token, cancellation);
string tokenFailedKey = $"{requestInfo.Fingerprint}_oauth_token_failed";
var tokenFailedKey = $"{requestInfo.Fingerprint}_oauth_token_failed";
if (result == null)
{