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/mysql.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/mysql.ini.tmpl')
-rw-r--r-- | integrations/mysql.ini.tmpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/integrations/mysql.ini.tmpl b/integrations/mysql.ini.tmpl index db1051e62a..2b044498eb 100644 --- a/integrations/mysql.ini.tmpl +++ b/integrations/mysql.ini.tmpl @@ -76,6 +76,7 @@ FROM = mysql-integration-test@gitea.io [service] REGISTER_EMAIL_CONFIRM = false +REGISTER_MANUAL_CONFIRM = false ENABLE_NOTIFY_MAIL = false DISABLE_REGISTRATION = false ENABLE_CAPTCHA = false |