diff --git a/src/main/java/com/example/daemawiki/domain/mail/service/MailSend.java b/src/main/java/com/example/daemawiki/domain/mail/service/MailSend.java index 4e0a387d..daba4bb3 100644 --- a/src/main/java/com/example/daemawiki/domain/mail/service/MailSend.java +++ b/src/main/java/com/example/daemawiki/domain/mail/service/MailSend.java @@ -28,7 +28,7 @@ public MailSend(AuthCodeRepository authCodeRepository, JavaMailSender javaMailSe } @Value("${admin.mail}") - private static String admin; + private String admin; private static final Random rand = new Random(); diff --git a/src/main/java/com/example/daemawiki/global/config/RedisConfig.java b/src/main/java/com/example/daemawiki/global/config/RedisConfig.java index 13b0d4a2..d76e99fb 100644 --- a/src/main/java/com/example/daemawiki/global/config/RedisConfig.java +++ b/src/main/java/com/example/daemawiki/global/config/RedisConfig.java @@ -15,7 +15,7 @@ public class RedisConfig { @Primary @Bean - ReactiveRedisOperations redisOperations(ReactiveRedisConnectionFactory factory) { + public ReactiveRedisOperations redisOperations(ReactiveRedisConnectionFactory factory) { RedisSerializer serializer = new StringRedisSerializer(); RedisSerializationContext serializationContext = RedisSerializationContext .newSerializationContext() diff --git a/src/main/java/com/example/daemawiki/global/security/Tokenizer.java b/src/main/java/com/example/daemawiki/global/security/Tokenizer.java index a075713f..8441b715 100644 --- a/src/main/java/com/example/daemawiki/global/security/Tokenizer.java +++ b/src/main/java/com/example/daemawiki/global/security/Tokenizer.java @@ -19,7 +19,7 @@ public class Tokenizer { @Value("${jwt.secret}") - private static String SECRET; + private String SECRET; public String createToken(String user) { return tokenize(user, "access"); diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 41f5dc47..a7c93cee 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -14,6 +14,7 @@ spring: max-file-size: 10MB max-request-size: 10MB enabled: true + mail: smtp: auth: true