From 6a91bed0bb61757f1d8674454959633ab531ba00 Mon Sep 17 00:00:00 2001 From: afeiszli Date: Mon, 9 Aug 2021 17:07:43 -0400 Subject: [PATCH] static configs --- functions/jwt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/jwt.go b/functions/jwt.go index cd7b3f15..6e938147 100644 --- a/functions/jwt.go +++ b/functions/jwt.go @@ -31,7 +31,7 @@ func CreateJWT(macaddress string, network string) (response string, err error) { } func CreateUserJWT(username string, networks []string, isadmin bool) (response string, err error) { - expirationTime := time.Now().Add(1 * time.Minute) + expirationTime := time.Now().Add(60 * 24 * time.Minute) claims := &models.UserClaims{ UserName: username, Networks: networks,