diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2022-01-07 12:40:17 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2022-01-07 12:40:17 +0100 |
commit | b3dd8a8870aed158af36042359d224d350f1b39e (patch) | |
tree | 648510e514f5470444bde3c0581080d59b4b012f /roles/gitea/templates/app.ini.j2 | |
parent | 07fbef0c792f8a6d0bade63aa4ec7372391a8696 (diff) | |
download | ansible_collection-b3dd8a8870aed158af36042359d224d350f1b39e.tar.gz |
gitea: enable mail notifications
Diffstat (limited to 'roles/gitea/templates/app.ini.j2')
-rw-r--r-- | roles/gitea/templates/app.ini.j2 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/roles/gitea/templates/app.ini.j2 b/roles/gitea/templates/app.ini.j2 index 9bbd097..f59c557 100644 --- a/roles/gitea/templates/app.ini.j2 +++ b/roles/gitea/templates/app.ini.j2 @@ -631,13 +631,15 @@ EMAIL_DOMAIN_WHITELIST = ; Comma-separated list of domain names that are not allowed to be used to register on a Gitea instance EMAIL_DOMAIN_BLOCKLIST = ; Disallow registration, only allow admins to create accounts. + + DISABLE_REGISTRATION = true ; Allow registration only using third-party services, it works only when DISABLE_REGISTRATION is false ALLOW_ONLY_EXTERNAL_REGISTRATION = false -; User must sign in to view anything. + REQUIRE_SIGNIN_VIEW = true -; Mail notification -ENABLE_NOTIFY_MAIL = false +ENABLE_NOTIFY_MAIL = {{ gitea.mail.enable }} + ; This setting enables gitea to be signed in with HTTP BASIC Authentication using the user's password ; If you set this to false you will not be able to access the tokens endpoints on the API with your password ; Please note that setting this to false will not disable OAuth Basic or Basic authentication using a token |