Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ori0o0p committed Jan 25, 2024
1 parent 938045f commit fc7912a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class RedisConfig {

@Primary
@Bean
ReactiveRedisOperations<String, String> redisOperations(ReactiveRedisConnectionFactory factory) {
public ReactiveRedisOperations<String, String> redisOperations(ReactiveRedisConnectionFactory factory) {
RedisSerializer<String> serializer = new StringRedisSerializer();
RedisSerializationContext<String, String> serializationContext = RedisSerializationContext
.<String, String>newSerializationContext()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ spring:
max-file-size: 10MB
max-request-size: 10MB
enabled: true

mail:
smtp:
auth: true
Expand Down

0 comments on commit fc7912a

Please sign in to comment.