My personal username and pwd removed, test strings added instead.

This commit is contained in:
oreva 2016-07-28 21:57:56 +03:00
parent 2bef18b3db
commit 8c21d6a3b0
1 changed files with 2 additions and 2 deletions

View File

@ -52,8 +52,8 @@ public class AppConfig extends WebMvcConfigurerAdapter {
JavaMailSenderImpl mailSender = new JavaMailSenderImpl(); JavaMailSenderImpl mailSender = new JavaMailSenderImpl();
mailSender.setHost("smtp.gmail.com"); mailSender.setHost("smtp.gmail.com");
mailSender.setPort(587); mailSender.setPort(587);
mailSender.setUsername("reva.olga"); mailSender.setUsername("username");
mailSender.setPassword("zakpnejnnoqkehgs"); mailSender.setPassword("password");
mailSender.setJavaMailProperties(javaMailProperties()); mailSender.setJavaMailProperties(javaMailProperties());
return mailSender; return mailSender;
} }