summaryrefslogtreecommitdiffstats
path: root/custom/conf/app.ini.sample
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2019-10-19 15:27:15 +0100
committerGitHub <noreply@github.com>2019-10-19 15:27:15 +0100
commit5a62ae5cbf47cf6537f6c95aba4b1d04dea5f5af (patch)
tree088421b1f75a9a0d95d182f3a5a339c66f5a9d1d /custom/conf/app.ini.sample
parent280f4bebbf5883eef94d8a84b21575393ae5e0e1 (diff)
downloadgitea-5a62ae5cbf47cf6537f6c95aba4b1d04dea5f5af.tar.gz
gitea-5a62ae5cbf47cf6537f6c95aba4b1d04dea5f5af.zip
Add setting to disable BASIC authentication (#8586)
Closes #8561.
Diffstat (limited to 'custom/conf/app.ini.sample')
-rw-r--r--custom/conf/app.ini.sample6
1 files changed, 5 insertions, 1 deletions
diff --git a/custom/conf/app.ini.sample b/custom/conf/app.ini.sample
index e4e791d4a7..c08dd62e7d 100644
--- a/custom/conf/app.ini.sample
+++ b/custom/conf/app.ini.sample
@@ -436,6 +436,10 @@ ALLOW_ONLY_EXTERNAL_REGISTRATION = false
REQUIRE_SIGNIN_VIEW = false
; Mail notification
ENABLE_NOTIFY_MAIL = false
+; 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
+ENABLE_BASIC_AUTHENTICATION = true
; More detail: https://github.com/gogits/gogs/issues/165
ENABLE_REVERSE_PROXY_AUTHENTICATION = false
ENABLE_REVERSE_PROXY_AUTO_REGISTRATION = false
@@ -866,6 +870,6 @@ TOKEN =
QUEUE_TYPE = channel
; Task queue length, available only when `QUEUE_TYPE` is `channel`.
QUEUE_LENGTH = 1000
-; Task queue connction string, available only when `QUEUE_TYPE` is `redis`.
+; Task queue connction string, available only when `QUEUE_TYPE` is `redis`.
; If there is a password of redis, use `addrs=127.0.0.1:6379 password=123 db=0`.
QUEUE_CONN_STR = "addrs=127.0.0.1:6379 db=0"