ing
This commit is contained in:
parent
8b4022c003
commit
31cd0efd8a
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user