Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
update UserMailSendService.java
Browse files Browse the repository at this point in the history
6글자 보내도록 변경
  • Loading branch information
ori0o0p committed Mar 20, 2024
1 parent 1a9df02 commit ece1cbb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ private String getMailTemplate(String key) {

private String getRandomCode() {
SecureRandom secureRandom = new SecureRandom();
byte[] randomBytes = new byte[6];
byte[] randomBytes = new byte[4];
secureRandom.nextBytes(randomBytes);
return Base64.getUrlEncoder().withoutPadding().encodeToString(randomBytes);
}
Expand Down

0 comments on commit ece1cbb

Please sign in to comment.