diff options
author | Jiri Vlasak <jiri.hubacek@gmail.com> | 2020-12-20 02:31:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-19 20:31:06 -0500 |
commit | d7c67a9fb255cfb95876d72cd9fd79247d33f5ef (patch) | |
tree | a9b6e7721e874ecff2ec4cc3f0fbceb009f48e05 /integrations/sqlite.ini.tmpl | |
parent | 36bd5d70cd390d59d1440b2e68bd3170d6af7ca2 (diff) | |
download | gitea-d7c67a9fb255cfb95876d72cd9fd79247d33f5ef.tar.gz gitea-d7c67a9fb255cfb95876d72cd9fd79247d33f5ef.zip |
Manually approve new registration (#13083)
* Add register manual confirm settings option
The new settings option is used when manually approving new
registrations.
* Enable manual confirmation of new registered user
When manual registration confirmation is desired (by default `false`)
create new user in the database that is *not active*. The user must then
be activated manually.
This change speeds up the process of adding new confirmed users for
Gitea instances without external auth mechanism. (Currently the option
is to manually create new user by admin.)
* Update docs/content/doc/advanced/config-cheat-sheet.zh-cn.md
Co-authored-by: a1012112796 <1012112796@qq.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: a1012112796 <1012112796@qq.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'integrations/sqlite.ini.tmpl')
-rw-r--r-- | integrations/sqlite.ini.tmpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/integrations/sqlite.ini.tmpl b/integrations/sqlite.ini.tmpl index 4c9dce4bb1..5ed096b0a3 100644 --- a/integrations/sqlite.ini.tmpl +++ b/integrations/sqlite.ini.tmpl @@ -52,6 +52,7 @@ FROM = sqlite-integration-test@gitea.io [service] REGISTER_EMAIL_CONFIRM = false +REGISTER_MANUAL_CONFIRM = false ENABLE_NOTIFY_MAIL = true DISABLE_REGISTRATION = false ENABLE_CAPTCHA = false |