Skip to content

Commit

Permalink
✅ Test[#9]: 프론트 테스트 및 응답시간 3분으로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuwon2407 committed Nov 21, 2024
1 parent 06bf402 commit 2760003
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public ResTemplate<Void> getPhoneCheck(@RequestBody PhoneCheckRequest request) {

@PostMapping("/phone-verification")
@Operation(
summary = "휴대폰 인증",
summary = "휴대폰 인증 검증",
description = "사용자가 받은 인증코드와 서버에서 보낸 인증코드를 대조하여 검증",
security = {},
responses = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import com.groom.swipo.domain.user.entity.VerificationCode;

public class VerificationCodeGenerator {
private static final Integer EXPIRATION_TIME_IN_MINUTES = 5;
private static final Integer EXPIRATION_TIME_IN_MINUTES = 3;

public static VerificationCode generateVerificationCode(String to, LocalDateTime sentAt) {
String code = generateRandomFourDigitNumber(); // 무작위 4자리 숫자 생성
Expand Down

0 comments on commit 2760003

Please sign in to comment.