Fix bugs: office auth, PDF worker, sidebar pins, direct downloads
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m0s

This commit is contained in:
Elijah 2026-05-31 21:16:17 -07:00
parent e88243f097
commit bfe55e2bfc
6 changed files with 74 additions and 32 deletions

View file

@ -141,7 +141,7 @@ func GenerateEditToken(userID int, username, secret, filePath string) (string, e
claims := jwt.MapClaims{
"sub": userID,
"username": username,
"exp": time.Now().Add(24 * time.Hour).Unix(),
"exp": time.Now().Add(7 * 24 * time.Hour).Unix(),
"iat": time.Now().Unix(),
"type": "edit",
}