This commit is contained in:
geek 2018-05-08 20:23:54 +09:00
parent 6d9d8b5b78
commit 8801dbf618

View File

@ -181,7 +181,7 @@ public class EmailAuthService {
if (status == 1) { if (status == 1) {
mailSubject = "Signup Confirm Mail"; mailSubject = "Signup Confirm Mail";
entry = "confirm_signup"; entry = "confirm_email";
templateName = "/vmtemplates/signup.vm"; templateName = "/vmtemplates/signup.vm";
} else if (status == 2) { } else if (status == 2) {
mailSubject = "Reset Password Confirm Mail"; mailSubject = "Reset Password Confirm Mail";
@ -194,7 +194,7 @@ public class EmailAuthService {
mail.setMailSubject(mailSubject); mail.setMailSubject(mailSubject);
mail.setTemplateLoacation(templateName); mail.setTemplateLoacation(templateName);
String uri = WEB_GO_MEMBER_ADDR + entry + "?key=" + encode; String uri = WEB_GO_MEMBER_ADDR + entry + "?token=" + encode;
Map<String, Object> model = new HashMap<>(); Map<String, Object> model = new HashMap<>();
model.put("firstName", auth.getMember().getName()); model.put("firstName", auth.getMember().getName());