휴대폰 인증번호 발급부분 로깅 변경

This commit is contained in:
Rinjae
2025-11-07 14:15:11 +09:00
parent e045fd256e
commit 8b07314f9d
@@ -5,6 +5,7 @@ import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.util.StringUtils;
import javax.annotation.PostConstruct;
import java.security.SecureRandom;
@Component
@@ -18,6 +19,12 @@ public class AuthNumberGenerator {
}
@PostConstruct
public void init() {
log.warn("가상 인증코드 활성화 상태 - {}", portalProperties.getAuthVirtualCode());
}
public String generateAuthNumber() {
if (StringUtils.hasLength(portalProperties.getAuthVirtualCode())) {
log.info("가상 인증코드 활성화 상태 - {}", portalProperties.getAuthVirtualCode());