feat: fix secret information issue in the CAPTCHA provider code (#2531)

This commit is contained in:
HGZ-20
2023-12-11 18:01:56 +08:00
committed by GitHub
parent b068202e74
commit dc06eb9948
5 changed files with 49 additions and 11 deletions

View File

@ -50,7 +50,7 @@ export const CaptchaPreview = (props) => {
};
const onOk = (captchaType, captchaToken, clientSecret) => {
UserBackend.verifyCaptcha(captchaType, captchaToken, clientSecret).then(() => {
UserBackend.verifyCaptcha(owner, name, captchaType, captchaToken, clientSecret).then(() => {
setVisible(false);
});
};