aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2024-11-03 19:26:30 +0800
committercrupest <crupest@outlook.com>2024-11-03 19:26:30 +0800
commit3bae1ce980dffe13fe856d8fa8a4a9bb1d301ac1 (patch)
treec807f47e987230a6523f8ffc4c82a5a94dada5ab /tools
parent073978f040d561e375a676325fb452b299481491 (diff)
downloadcrupest-3bae1ce980dffe13fe856d8fa8a4a9bb1d301ac1.tar.gz
crupest-3bae1ce980dffe13fe856d8fa8a4a9bb1d301ac1.tar.bz2
crupest-3bae1ce980dffe13fe856d8fa8a4a9bb1d301ac1.zip
fix(forgejo): fix forgejo config.
Diffstat (limited to 'tools')
-rw-r--r--tools/aio/modules/config.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/aio/modules/config.py b/tools/aio/modules/config.py
index 7dc75a1..52f656a 100644
--- a/tools/aio/modules/config.py
+++ b/tools/aio/modules/config.py
@@ -57,14 +57,16 @@ config_var_list: list = [
"v2ray path, which will be prefixed by _", generate_uuid),
ConfigVar("CRUPEST_FORGEJO_SECURITY_KEY",
"Forgejo secret key.", generate_uuid),
+ ConfigVar("CRUPEST_FORGEJO_SECURITY_INTERNAL_TOKEN",
+ "Forgejo secret internal token.", generate_uuid),
+ ConfigVar("CRUPEST_FORGEJO_LFS_JWT_SECRET",
+ "Forgejo LFS JWT secret.", generate_uuid),
+ ConfigVar("CRUPEST_FORGEJO_OAUTH2_JWT_SECRET",
+ "Forgejo OAUTH2 JWT secret..", generate_uuid),
ConfigVar("CRUPEST_FORGEJO_MAILER_USER",
"Forgejo SMTP user.", "Please input your Forgejo SMTP user."),
ConfigVar("CRUPEST_FORGEJO_MAILER_PASSWD",
"Forgejo SMTP password.", "Please input your Forgejo SMTP password."),
- ConfigVar("CRUPEST_FORGEJO_EMAIL_INCOMING_USER",
- "Forgejo IMAP user.", "Please input your Forgejo IMAP user."),
- ConfigVar("CRUPEST_FORGEJO_EMAIL_INCOMING_PASSWORD",
- "Forgejo IMAP password.", "Please input your Forgejo IMAP password."),
]
config_var_name_set = set([config_var.name for config_var in config_var_list])