From cb9e1245d8d83851d8632a811f0a396e4d922e2c Mon Sep 17 00:00:00 2001 From: Ivan Reshetnikov Date: Mon, 21 Oct 2024 00:27:33 +0500 Subject: [PATCH] Make changes required for ldap support in forgejo --- roles/forgejo/templates/app.ini.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/forgejo/templates/app.ini.j2 b/roles/forgejo/templates/app.ini.j2 index 83cb90a..8f9a0c6 100644 --- a/roles/forgejo/templates/app.ini.j2 +++ b/roles/forgejo/templates/app.ini.j2 @@ -54,6 +54,10 @@ SSH_LISTEN_PORT=8022 COOKIE_NAME=session COOKIE_SECURE=true +[service] +DISABLE_REGISTRATION=true +SHOW_REGISTRATION_BUTTON=false + [cache] ADAPTER=redis HOST=redis://redis-forgejo:6379/0?pool_size=100&idle_timeout=180s