Skip to content

Commit f5a3062

Browse files
authored
Fix/#217/endermaru (#218)
* 3minutes to 1hour * settings for dev email account
1 parent 12a6e35 commit f5a3062

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

src/main/kotlin/com/wafflestudio/internhasha/auth/service/AuthRedisCacheService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class AuthRedisCacheService(
131131
redisTemplate.opsForValue().set(
132132
key,
133133
true.toString(),
134-
UserTokenUtil.emailTokenExpirationTime * 1000,
134+
UserTokenUtil.accessTokenExpirationTime * 1000,
135135
TimeUnit.MILLISECONDS,
136136
)
137137
}

src/main/resources/application.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ spring:
1111
mail:
1212
host: smtp.gmail.com
1313
port: 587
14-
username: internhasha.official@gmail.com
1514
properties:
1615
mail:
1716
smtp:
@@ -91,6 +90,7 @@ spring:
9190
settings:
9291
web-allow-others: true
9392
mail:
93+
username: ""
9494
password: ""
9595
---
9696
secret-names: dev/internhasha
@@ -109,6 +109,7 @@ spring:
109109
port: 6379
110110
database: 4
111111
mail:
112+
username:
112113
password:
113114

114115
amazon:
@@ -152,6 +153,7 @@ spring:
152153
port: 6379
153154
database: 4
154155
mail:
156+
username:
155157
password:
156158

157159
amazon:

0 commit comments

Comments
 (0)