适配第二版验证码
This commit is contained in:
1 parent
564ffecfed
commit
c1451d0e6d
5 files changed
+79
-14
No files matched your search
@@ -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());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user