add internal token

This commit is contained in:
Robert Kaussow 2018-12-08 23:53:58 +01:00
parent bac286e432
commit 64b42a6c8f
2 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,7 @@ gitea_listen_protocol: "{{ gitea_bind_protocol }}"
gitea_install_lock: true
gitea_secret: "1234567ABCDEFG"
gitea_token: "akslkaldasasifiuvsiasfa7s7f8as7f8asd"
gitea_run_mode: prod
gitea_landing_page: explore
gitea_disable_registration: true

View File

@ -98,6 +98,7 @@ REPO_INDEXER_ENABLED = true
[security]
INSTALL_LOCK = {{ gitea_install_lock }}
SECRET_KEY = {{ gitea_secret }}
INTERNAL_TOKEN = {{ gitea_token }}
MIN_PASSWORD_LENGTH = 8
DISABLE_GIT_HOOKS = false