validateAndConsumeChallenge

This commit is contained in:
MaxKey 2025-10-05 10:44:12 +08:00
parent 4df7f81dca
commit a5f8d15b2d

View File

@ -488,7 +488,7 @@ public class PasskeyServiceImpl implements PasskeyService {
// 标记挑战为已使用
challenge.setStatus(1);
passkeyChallengeService.saveChallenge(challenge);
passkeyChallengeService.validateAndConsumeChallenge(challenge.getId(),challenge.getChallengeType());
_logger.debug("Authentication verification completed successfully");
return result;