From 31cd0efd8a09a5871c37c58da6835c3d2a6c68ad Mon Sep 17 00:00:00 2001 From: crusader Date: Sun, 10 Jun 2018 21:28:44 +0900 Subject: [PATCH] ing --- .../module/email/service/CentralEmailAuthService.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/loafle/overflow/central/module/email/service/CentralEmailAuthService.java b/src/main/java/com/loafle/overflow/central/module/email/service/CentralEmailAuthService.java index f4518dd..c71cb88 100644 --- a/src/main/java/com/loafle/overflow/central/module/email/service/CentralEmailAuthService.java +++ b/src/main/java/com/loafle/overflow/central/module/email/service/CentralEmailAuthService.java @@ -132,12 +132,12 @@ public class CentralEmailAuthService implements EmailAuthService { } public EmailAuth sendEmailByMember(Member member) throws OverflowException { - return this.sendEMail(member, 1); + return this.sendEMail(member, (short)1); } // Todo Send Email Refactoring public EmailAuth sendEmailResetPassword(Member member) throws OverflowException { - return this.sendEMail(member, 2); + return this.sendEMail(member, (short)2); } private boolean isValidateTime(EmailAuth auth) { @@ -161,7 +161,7 @@ public class CentralEmailAuthService implements EmailAuthService { return true; } - private EmailAuth sendEMail(Member member, int type) throws OverflowException { + private EmailAuth sendEMail(Member member, Short type) throws OverflowException { String key = GenerateKey.getKey(); // String enMail = emailSender.encrypt(key);