feat: configurable session provider #31

Open
fauno wants to merge 2 commits from session into main
3 changed files with 5 additions and 1 deletions

View File

@ -38,6 +38,7 @@ GITEA_ENABLE_PUSH_CREATE_USER=false
GITEA_ENABLE_PUSH_CREATE_ORG=false
GITEA_LFS_START_SERVER=false
GITEA_MAX_CREATION_LIMIT=-1
GITEA_SESSION_PROVIDER=db
fauno marked this conversation as resolved Outdated
Outdated
Review

Should we set the default to db?

Should we set the default to db?

Yes please, think of the children! All those logins, all those moments in time. Lost, forever.

Yes please, think of the children! All those logins, all those moments in time. Lost, forever.
Outdated
Review

done!

done!
GITEA_REPO_UPLOAD_ENABLED=true
GITEA_REPO_UPLOAD_ALLOWED_TYPES=*/*

View File

@ -1,4 +1,4 @@
export APP_INI_VERSION=v25
export APP_INI_VERSION=v26
export DOCKER_SETUP_SH_VERSION=v1
export PG_BACKUP_VERSION=v1

View File

@ -126,3 +126,6 @@ MODE=console
LEVEL=WARN
STACKTRACE_LEVEL=None
ENABLE_XORM_LOG=false
[session]
PROVIDER = {{ env "GITEA_SESSION_PROVIDER" }}