Update jwt.go

This commit is contained in:
Ankit Nayan 2022-05-04 01:06:45 +05:30 committed by GitHub
parent 5f529e1c10
commit ce0b37ca2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ import (
var (
JwtSecret string
JwtExpiry = 30 * time.Minute
JwtRefresh = 24 * time.Hour
JwtRefresh = 30 * 24 * time.Hour
)
func ParseJWT(jwtStr string) (jwt.MapClaims, error) {