From ac01b1e4674445237828f92ebe62ac2a1eb43126 Mon Sep 17 00:00:00 2001 From: Mathias Merscher Date: Sun, 10 Mar 2019 13:41:39 +0100 Subject: [PATCH] add new ini parameter INTERNAL_TOKEN --- defaults/main.yml | 1 + templates/gitea.ini.j2 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index 913cd82..b548f4c 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -28,6 +28,7 @@ gitea_start_ssh: true gitea_ssh_port: 2222 gitea_secret_key: T0pS3cr31 +gitea_internal_token: SomethingVeryLong gitea_show_user_email: false gitea_disable_gravatar: true diff --git a/templates/gitea.ini.j2 b/templates/gitea.ini.j2 index 953369c..5c788d6 100644 --- a/templates/gitea.ini.j2 +++ b/templates/gitea.ini.j2 @@ -164,8 +164,8 @@ PATH = {{ gitea_db_path }} ; Whether the installer is disabled INSTALL_LOCK = true ; !!CHANGE THIS TO KEEP YOUR USER DATA SAFE!! -#@FDEWREWR&*( SECRET_KEY = {{ gitea_secret_key }} +INTERNAL_TOKEN = {{ gitea_internal_token }} ; Auto-login remember days LOGIN_REMEMBER_DAYS = 7 COOKIE_USERNAME = gitea_awesome