diff options
author | Tamal Saha <tamal@appscode.com> | 2019-07-12 06:57:31 -0700 |
---|---|---|
committer | techknowlogick <techknowlogick@gitea.io> | 2019-07-12 09:57:31 -0400 |
commit | 2102f9d92db308f694707ebe6253beb20c5f7505 (patch) | |
tree | 2a09910b2fb4b3b4c151966c3a7620f48a566633 /custom/conf | |
parent | d95237b56199934418816aaef4881ca538637c05 (diff) | |
download | gitea-2102f9d92db308f694707ebe6253beb20c5f7505.tar.gz gitea-2102f9d92db308f694707ebe6253beb20c5f7505.zip |
Support setting cookie domain (#6288)
Signed-off-by: Tamal Saha <tamal@appscode.com>
Diffstat (limited to 'custom/conf')
-rw-r--r-- | custom/conf/app.ini.sample | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/custom/conf/app.ini.sample b/custom/conf/app.ini.sample index e44cc90a4b..0212964750 100644 --- a/custom/conf/app.ini.sample +++ b/custom/conf/app.ini.sample @@ -321,6 +321,8 @@ IMPORT_LOCAL_PATHS = false DISABLE_GIT_HOOKS = false ; Password Hash algorithm, either "pbkdf2", "argon2", "scrypt" or "bcrypt" PASSWORD_HASH_ALGO = pbkdf2 +; Set false to allow JavaScript to read CSRF cookie +CSRF_COOKIE_HTTP_ONLY = true [openid] ; |