Skip to content

Commit

Permalink
Merge pull request #64 from Team-Tiki/feat/#39-email-verification
Browse files Browse the repository at this point in the history
[HOTFIX] 이메일 패스워드 변수 static 삭제
  • Loading branch information
paragon0107 authored Jul 14, 2024
2 parents acf9152 + 28a757a commit 8724b94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 3 additions & 2 deletions src/main/java/com/tiki/server/mail/config/MailConfig.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.tiki.server.mail.config;

import com.sun.tools.jconsole.JConsoleContext;
import lombok.val;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
Expand All @@ -14,8 +15,8 @@
@Configuration
public class MailConfig {

@Value("${mail.password}")
private static String mailPassword;
@Value("${MAIL.password}")
private String mailPassword;

@Bean
public JavaMailSender setProperties() {
Expand Down
3 changes: 0 additions & 3 deletions src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ logging:
jwt:
secret:
${JWT.SECRET}
mail:
password:
${MAIL.password}
aws-property:
access-key: ${AWS_PROPERTY.ACCESS_KEY}
secret-key: ${AWS_PROPERTY.SECRET_KEY}
Expand Down

0 comments on commit 8724b94

Please sign in to comment.