email token duplication check
This commit is contained in:
parent
3193bdb7e4
commit
0f55757b48
|
@ -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";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user