Skip to content

Commit 9367ace

Browse files
authored
Update JwtUtil.java
1 parent 7540029 commit 9367ace

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/example/FixLog/util/JwtUtil.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
@Component
1515
public class JwtUtil {
1616

17-
@Value("${jwt.secret}")
17+
@Value("${spring.jwt.secret}")
1818
private String secretKeyString;
1919

2020
private Key secretKey;
@@ -59,4 +59,4 @@ public String getEmailFromToken(String token) {
5959
public Long getUserIdFromToken(String token) {
6060
return getClaims(token).get("userId", Long.class);
6161
}
62-
}
62+
}

0 commit comments

Comments
 (0)