适配第二版验证码

This commit is contained in:
biss committed 2026-09-12 08:37:12 +08:00
1 parent 564ffecfed
commit c1451d0e6d
5 files changed
+79 -14

No files matched your search

+1 -1
View File
@@ -59,7 +59,7 @@ public sealed class SsoController(
if (string.IsNullOrWhiteSpace(bindingIntent) &&
(string.IsNullOrWhiteSpace(captchaId) ||
string.IsNullOrWhiteSpace(captchaCode) ||
!await captcha.VerifyAsync(captchaId, captchaCode, cancellationToken)))
!await captcha.VerifyAsync(captchaId, captchaCode, cancellationToken: cancellationToken)))
{
return Unauthorized(AuthController.LoginCaptchaProblem());
}