mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-09-23 11:43:13 +08:00
Update jwt.go
This commit is contained in:
parent
5f529e1c10
commit
ce0b37ca2e
@ -16,7 +16,7 @@ import (
|
|||||||
var (
|
var (
|
||||||
JwtSecret string
|
JwtSecret string
|
||||||
JwtExpiry = 30 * time.Minute
|
JwtExpiry = 30 * time.Minute
|
||||||
JwtRefresh = 24 * time.Hour
|
JwtRefresh = 30 * 24 * time.Hour
|
||||||
)
|
)
|
||||||
|
|
||||||
func ParseJWT(jwtStr string) (jwt.MapClaims, error) {
|
func ParseJWT(jwtStr string) (jwt.MapClaims, error) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user