email token duplication check

This commit is contained in:
geek 2018-06-01 12:49:21 +09:00
parent 3193bdb7e4
commit 0f55757b48

View File

@ -28,7 +28,7 @@ import java.util.*;
*/
@Service("EmailAuthService")
public class EmailAuthService {
private static final String WEB_GO_MEMBER_ADDR = "http://127.0.0.1:19080/webapp/account/";
private static final String WEB_GO_MEMBER_ADDR = "http://127.0.0.1:4200/#/auth/";
@Autowired
private EmailAuthDAO emailAuthDAO;
@ -187,11 +187,11 @@ public class EmailAuthService {
if (status == 1) {
mailSubject = "Signup Confirm Mail";
entry = "confirm_email";
entry = "confirm-signup";
templateName = "/vmtemplates/signup.vm";
} else if (status == 2) {
mailSubject = "Reset Password Confirm Mail";
entry = "confirm_reset_pw";
entry = "confirm-reset-password";
templateName = "/vmtemplates/password_reset.vm";
}