fix(lib): make challenges live for 30 minutes by default

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso
2025-07-04 17:29:14 +00:00
parent ded9c32801
commit 59f69d48d2

View File

@@ -131,7 +131,7 @@ func (s *Server) issueChallenge(ctx context.Context, r *http.Request) (*challeng
}
j := store.JSON[challenge.Challenge]{Underlying: s.store}
if err := j.Set(ctx, "challenge:"+id.String(), chall, 5*time.Minute); err != nil {
if err := j.Set(ctx, "challenge:"+id.String(), chall, 30*time.Minute); err != nil {
return nil, err
}