add new ini parameter INTERNAL_TOKEN
This commit is contained in:
parent
c69547f2b2
commit
ac01b1e467
2 changed files with 2 additions and 1 deletions
|
@ -28,6 +28,7 @@ gitea_start_ssh: true
|
||||||
gitea_ssh_port: 2222
|
gitea_ssh_port: 2222
|
||||||
|
|
||||||
gitea_secret_key: T0pS3cr31
|
gitea_secret_key: T0pS3cr31
|
||||||
|
gitea_internal_token: SomethingVeryLong
|
||||||
|
|
||||||
gitea_show_user_email: false
|
gitea_show_user_email: false
|
||||||
gitea_disable_gravatar: true
|
gitea_disable_gravatar: true
|
||||||
|
|
|
@ -164,8 +164,8 @@ PATH = {{ gitea_db_path }}
|
||||||
; Whether the installer is disabled
|
; Whether the installer is disabled
|
||||||
INSTALL_LOCK = true
|
INSTALL_LOCK = true
|
||||||
; !!CHANGE THIS TO KEEP YOUR USER DATA SAFE!!
|
; !!CHANGE THIS TO KEEP YOUR USER DATA SAFE!!
|
||||||
#@FDEWREWR&*(
|
|
||||||
SECRET_KEY = {{ gitea_secret_key }}
|
SECRET_KEY = {{ gitea_secret_key }}
|
||||||
|
INTERNAL_TOKEN = {{ gitea_internal_token }}
|
||||||
; Auto-login remember days
|
; Auto-login remember days
|
||||||
LOGIN_REMEMBER_DAYS = 7
|
LOGIN_REMEMBER_DAYS = 7
|
||||||
COOKIE_USERNAME = gitea_awesome
|
COOKIE_USERNAME = gitea_awesome
|
||||||
|
|
Loading…
Reference in a new issue