[PR #4044] [MERGED] Add Recaptcha functionality to Gitea #17214

Closed
opened 2025-11-02 12:29:43 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/4044
Author: @ghost
Created: 5/25/2018
Status: Merged
Merged: 7/5/2018
Merged by: @techknowlogick

Base: masterHead: recaptcha


📝 Commits (10+)

📊 Changes

13 files changed (+163 additions, -15 deletions)

View changed files

📝 custom/conf/app.ini.sample (+7 -1)
📝 docs/content/doc/advanced/config-cheat-sheet.en-us.md (+4 -1)
📝 modules/auth/user_form.go (+5 -4)
📝 modules/auth/user_form_auth_openid.go (+3 -2)
modules/recaptcha/recaptcha.go (+47 -0)
📝 modules/setting/setting.go (+13 -1)
📝 public/css/index.css (+1 -1)
📝 public/less/_form.less (+17 -0)
📝 routers/user/auth.go (+33 -2)
📝 routers/user/auth_openid.go (+16 -1)
📝 templates/base/footer.tmpl (+5 -0)
📝 templates/user/auth/signup_inner.tmpl (+6 -1)
📝 templates/user/auth/signup_openid_register.tmpl (+6 -1)

📄 Description

This PR adds recaptcha functionality to Gitea.

Old captcha functionality remains the same, this just gives options to the user
recaptcha


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/4044 **Author:** [@ghost](https://github.com/ghost) **Created:** 5/25/2018 **Status:** ✅ Merged **Merged:** 7/5/2018 **Merged by:** [@techknowlogick](https://github.com/techknowlogick) **Base:** `master` ← **Head:** `recaptcha` --- ### 📝 Commits (10+) - [`a467186`](https://github.com/go-gitea/gitea/commit/a46718613b704a400670a7f6a8fff8e61243fe99) Add Recaptcha functionality to Gitea - [`55bbfac`](https://github.com/go-gitea/gitea/commit/55bbfac16d2df3958110d6d0bd12b02426a5c881) Add comment to struct - [`76b57f1`](https://github.com/go-gitea/gitea/commit/76b57f15a6cbb11bb2bf268067d77e940168e1f1) Add comment to function - [`0b12d2a`](https://github.com/go-gitea/gitea/commit/0b12d2adc4e1d557faf1e2d21ecf699bcd4795d1) Fix import order - [`f6d9d2b`](https://github.com/go-gitea/gitea/commit/f6d9d2ba7b4e47f5af7ed4f984b41f2e7e7d60a1) Remove helper functions - [`a39289d`](https://github.com/go-gitea/gitea/commit/a39289d0a9786f3ef4b22dc088af6d9bba9209c4) Remove empty line and initialize Response differently - [`22d6265`](https://github.com/go-gitea/gitea/commit/22d6265f44521a7a48267884b21db4995424facc) Move script to footer - [`02ac7e3`](https://github.com/go-gitea/gitea/commit/02ac7e37c51df5068cb77e8ef14fbd81d7f35e72) Remove script from body - [`f203c2f`](https://github.com/go-gitea/gitea/commit/f203c2f292366686fcf51e867a649a4a74bd310d) Remove script from body - [`7e6a60a`](https://github.com/go-gitea/gitea/commit/7e6a60a064d73a5c902e6290840b1be2bdc1b111) Add styles to Less ### 📊 Changes **13 files changed** (+163 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `custom/conf/app.ini.sample` (+7 -1) 📝 `docs/content/doc/advanced/config-cheat-sheet.en-us.md` (+4 -1) 📝 `modules/auth/user_form.go` (+5 -4) 📝 `modules/auth/user_form_auth_openid.go` (+3 -2) ➕ `modules/recaptcha/recaptcha.go` (+47 -0) 📝 `modules/setting/setting.go` (+13 -1) 📝 `public/css/index.css` (+1 -1) 📝 `public/less/_form.less` (+17 -0) 📝 `routers/user/auth.go` (+33 -2) 📝 `routers/user/auth_openid.go` (+16 -1) 📝 `templates/base/footer.tmpl` (+5 -0) 📝 `templates/user/auth/signup_inner.tmpl` (+6 -1) 📝 `templates/user/auth/signup_openid_register.tmpl` (+6 -1) </details> ### 📄 Description This PR adds recaptcha functionality to Gitea. Old captcha functionality remains the same, this just gives options to the user ![recaptcha](https://user-images.githubusercontent.com/36822577/40521811-7a120c5a-5f9b-11e8-9034-e3f870169d00.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:29:43 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17214