diff --git a/roles/gitea/templates/gitea.conf.j2 b/roles/gitea/templates/gitea.conf.j2 index 39765b8..a2727f7 100644 --- a/roles/gitea/templates/gitea.conf.j2 +++ b/roles/gitea/templates/gitea.conf.j2 @@ -17,11 +17,15 @@ HOST = /tmp/ NAME = gitea USER = _gitea PASSWD = +[admin] +EXTERNAL_USER_DISABLE_FEATURES = manage_mfa [security] INSTALL_LOCK = true SECRET_KEY = {{ gitea_secret_key }} INTERNAL_TOKEN = {{ gitea_internal_token }} [camo] +[oauth2_client] +ENABLE_AUTO_REGISTRATION = true [oauth2] ENABLED = true JWT_SECRET = {{ gitea_jwt_secret }} @@ -49,6 +53,8 @@ REPLY_TO_ADDRESS = git+%{token}@cosmosim.dev COOKIE_SECURE = true [git] [service] +ENABLE_PASSWORD_SIGNIN_FORM = false +ENABLE_PASSKEY_AUTHENTICATION = false REGISTER_EMAIL_CONFIRM = true ENABLE_NOTIFY_MAIL = true DISABLE_REGISTRATION = true