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 2ef86cc commit b770b11Copy full SHA for b770b11
internal/token/token.go
@@ -14,7 +14,7 @@ import (
14
15
/* generating jwt token for user identification with specified configs */
16
func GenerateJWT(username string, sessionID uuid.UUID) (string, error) {
17
- expiryHours := config.BackendConfig.BackendSecurity.JWTExpiry
+ expiryHours := config.BackendConfig.AppInfo.SessionTimeout
18
19
/* generate JWT token with claims */
20
token := jwt.NewWithClaims(jwt.SigningMethodHS256, jwt.MapClaims{
0 commit comments