mirror of
https://github.com/documize/community.git
synced 2025-07-19 05:09:42 +02:00
increase token expiry
This commit is contained in:
parent
9d82682797
commit
1ef8807b2d
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ func GenerateJWT(rt *env.Runtime, user, org, domain string) string {
|
|||
token := jwt.NewWithClaims(jwt.SigningMethodHS256, jwt.MapClaims{
|
||||
"iss": "Documize",
|
||||
"sub": "webapp",
|
||||
"exp": time.Now().Add(time.Hour * 168).Unix(),
|
||||
"exp": time.Now().Add(time.Hour * 8760).Unix(),
|
||||
"user": user,
|
||||
"org": org,
|
||||
"domain": domain,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue