Skip to content

Commit

Permalink
ttl hardcoding removed
Browse files Browse the repository at this point in the history
Signed-off-by: manisha kumari <[email protected]>
  • Loading branch information
ManishaKumari295 committed Sep 25, 2024
1 parent 596c906 commit 32e117f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/authentication/jwt/jwt.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func AccessToken(claims *corev2.Claims) (*jwt.Token, string, error) {
return token, tokenString, nil
}

:q// NewClaims creates new claim based on username
// NewClaims creates new claim based on username
func NewClaims(user *corev2.User) (*corev2.Claims, error) {
// Create a unique identifier for the token
jti, err := GenJTI()
Expand Down

0 comments on commit 32e117f

Please sign in to comment.