Commit be7beeb4 authored by Quxl's avatar Quxl

xxx

parent af74dcae
......@@ -119,7 +119,7 @@ public class AdminFirstController {
locale = new Locale("en", "US");
}
String subject = messages.get("email.getPassword.subject", locale);
String content = Common.getStringAsStream("classpath:/doc/" + member.getLang() + "/first_pass.txt");
String content = Common.getStringAsStream("classpath:/doc/first_pass_" + locale.getLanguage().toLowerCase() + "_" + locale.getCountry().toUpperCase() + ".txt");
MessageFormat.format(content, member.getUsername(), memberFilm.getId());
emailService.send(subject, content, member.getEmail());
return Rjx.jsonOk();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment