]> source.dussan.org Git - gitea.git/commit
Move the captcha script loader to the template which really needs it (#28718)
authorwxiaoguang <wxiaoguang@gmail.com>
Sun, 7 Jan 2024 15:41:46 +0000 (23:41 +0800)
committerGitHub <noreply@github.com>
Sun, 7 Jan 2024 15:41:46 +0000 (15:41 +0000)
commita04f8c0f81f55a8b927ce0fad8127db39396f892
treef3c1c28b050e66abc6734da46daa1c1a22f9caaf
parent79da4bbc566cd3b1c028ca0b747c196fc02990f7
Move the captcha script loader to the template which really needs it (#28718)

It improves the maintainability for the templates.

Now `base/footer.tmpl` doesn't need to depend on "captcha" feature.
templates/base/footer.tmpl
templates/user/auth/captcha.tmpl