Merge pull request '[CHORE] Move cache & captcha library' (#5146) from gusted/forgejo-captcha into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5146
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
This commit is contained in:
Gusted 2024-08-29 08:02:09 +00:00
commit c87655b7ff
14 changed files with 104 additions and 91 deletions

View file

@ -25,7 +25,7 @@ import (
"code.gitea.io/gitea/modules/setting"
api "code.gitea.io/gitea/modules/structs"
"gitea.com/go-chi/cache"
"code.forgejo.org/go-chi/cache"
)
const contributorStatsCacheKey = "GetContributorStats/%s/%s"

View file

@ -15,7 +15,7 @@ import (
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/test"
"gitea.com/go-chi/cache"
"code.forgejo.org/go-chi/cache"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)