Revision 49836
Added by Sofia Baltzi over 6 years ago
RemindUsernameServlet.java | ||
---|---|---|
49 | 49 |
String username = ldapActions.getUsername(formEmail); |
50 | 50 |
if (username != null && !username.isEmpty()) { |
51 | 51 |
|
52 |
String verificationCodeMsg = "Hello,\n" + |
|
53 |
"\n" + "A username reminder has been requested for your OpenAIRE account.\n" + |
|
54 |
" Your username is "+ username + ". Thank you. "; |
|
52 |
String verificationCodeMsg = "<p>Hello,</p>" + |
|
53 |
"<p> A username reminder has been requested for your OpenAIRE account.</p>" + |
|
54 |
"<p> Your username is "+ username + ".</p>" + |
|
55 |
"<p> Thank you </p>"; |
|
55 | 56 |
|
56 | 57 |
String verificationCodeSubject = "Your OpenAIRE username"; |
57 | 58 |
|
Also available in: Unified diff
Change email format and add link for verification