Skip to content

Commit

Permalink
chore(master): add master account (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaerim1001 authored Sep 12, 2023
1 parent 332c35a commit 84cac34
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,11 @@ public class AwsSmsCredentialService implements SmsCredentialService {
@Override
public void issue(String receiveTarget) {
ValueOperations<String, String> operations = redisTemplate.opsForValue();

String credential = RandomCodeUtils.crateCredential();

if (receiveTarget.equals("+821057710167")) {
credential = "999999";
}
sendSms(receiveTarget, credential);

operations.set(receiveTarget, credential, Duration.ofMinutes(10));
Expand Down

0 comments on commit 84cac34

Please sign in to comment.