This commit is contained in:
crusader 2018-06-10 21:28:44 +09:00
parent 8b4022c003
commit 31cd0efd8a

View File

@ -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);