We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7540029 commit 9367aceCopy full SHA for 9367ace
src/main/java/com/example/FixLog/util/JwtUtil.java
@@ -14,7 +14,7 @@
14
@Component
15
public class JwtUtil {
16
17
- @Value("${jwt.secret}")
+ @Value("${spring.jwt.secret}")
18
private String secretKeyString;
19
20
private Key secretKey;
@@ -59,4 +59,4 @@ public String getEmailFromToken(String token) {
59
public Long getUserIdFromToken(String token) {
60
return getClaims(token).get("userId", Long.class);
61
}
62
-}
+}
0 commit comments