aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/git-lfs-authenticate
diff options
context:
space:
mode:
authorLibravatar Rutger Broekhoff2024-01-02 21:38:45 +0100
committerLibravatar Rutger Broekhoff2024-01-02 21:38:45 +0100
commitab988b1dae67a04dbcfc7af14052a1b033946029 (patch)
tree046c674d10c4edb31398b9e802246ea1c197a52e /cmd/git-lfs-authenticate
parentf8b10c51e3f850203201e2cf926f5203192f93c7 (diff)
downloadgitolfs3-ab988b1dae67a04dbcfc7af14052a1b033946029.tar.gz
gitolfs3-ab988b1dae67a04dbcfc7af14052a1b033946029.zip
Make tokens short-lived
Diffstat (limited to 'cmd/git-lfs-authenticate')
-rw-r--r--cmd/git-lfs-authenticate/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/git-lfs-authenticate/main.go b/cmd/git-lfs-authenticate/main.go
index a76fdff..3d2c1ea 100644
--- a/cmd/git-lfs-authenticate/main.go
+++ b/cmd/git-lfs-authenticate/main.go
@@ -180,7 +180,7 @@ func main() {
180 die("forbidden") 180 die("forbidden")
181 } 181 }
182 182
183 expiresIn := time.Hour * 24 183 expiresIn := time.Minute * 5
184 claims := customClaims{ 184 claims := customClaims{
185 Gitolfs3: gitolfs3Claims{ 185 Gitolfs3: gitolfs3Claims{
186 Type: "batch-api", 186 Type: "batch-api",