Project

General

Profile

« Previous | Next » 

Revision 49836

Added by Sofia Baltzi over 6 years ago

Change email format and add link for verification

View differences:

RegisterServlet.java
87 87
                     String resultPath = scheme + "://" +serverName + ":" +portNumber + contextPath + "/activate.jsp";
88 88

  
89 89
                     String verificationCodeMsg = "<p>Hello " + username + ",</p>" +
90
                             "<p> " +
91
                             "A request has been made to verify your email and activate your OpenAIRE account. To activate your " +
90
                             "<p> A request has been made to verify your email and activate your OpenAIRE account. To activate your " +
92 91
                             "account, you will need to submit your username and this activation code in order to verify that the" +
93 92
                             "request was legitimate.</p>" +
94 93
                             "<p>" +
95 94
                             "The activation code is " + verificationCode.toString() +
96 95
                             "</p>" +
97 96
                             "Select the URL below and proceed with activating your password." +
98
                             "<p><a href=" + resultPath + ">" + resultPath + "</a></p>"
99
                             +"<p>Thank you</p>";
97
                             "<p><a href=" + resultPath + ">" + resultPath + "</a></p>" +
98
                             "<p>Thank you</p>";
100 99

  
101 100
                     String verificationCodeSubject = "Activate your OpenAIRE account";
102 101

  

Also available in: Unified diff