Actually use internal token

This commit is contained in:
Salt 2020-04-30 05:53:16 -05:00
parent c5ee46be04
commit 35138d98e1

View File

@ -457,8 +457,8 @@ DEFAULT_EMAIL_NOTIFICATIONS = enabled
[security] [security]
; Whether the installer is disabled ; Whether the installer is disabled
INSTALL_LOCK = true INSTALL_LOCK = true
; !!CHANGE THIS TO KEEP YOUR USER DATA SAFE!!
SECRET_KEY = {{ gitea_secret_key }} SECRET_KEY = {{ gitea_secret_key }}
INTERNAL_TOKEN = {{ gitea_internal_token }}
; How long to remember that a user is logged in before requiring relogin (in days) ; How long to remember that a user is logged in before requiring relogin (in days)
LOGIN_REMEMBER_DAYS = 7 LOGIN_REMEMBER_DAYS = 7
COOKIE_USERNAME = gitea_awesome COOKIE_USERNAME = gitea_awesome