Skip to content

Commit

Permalink
expose gitea_session_provider_config
Browse files Browse the repository at this point in the history
  • Loading branch information
pat-s authored Dec 10, 2024
1 parent 43fba17 commit 4d6dc0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ gitea_mailer_extra_config: ''
# Session (session)
# -> https://docs.gitea.io/en-us/config-cheat-sheet/#session-session
gitea_session_provider: 'file'
gitea_session_provider_config: "{{ gitea_home }}/data/sessions"
gitea_session_extra_config: ''

# Picture (picture)
Expand Down
2 changes: 1 addition & 1 deletion templates/gitea.ini.j2
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ SEND_AS_PLAIN_TEXT = {{ gitea_mailer_send_as_plaintext | ternary('true', 'false'
; -> https://docs.gitea.com/next/administration/config-cheat-sheet/#session-session
[session]
PROVIDER = {{ gitea_session_provider }}
PROVIDER_CONFIG = {{ gitea_home }}/data/sessions
PROVIDER_CONFIG = {{ gitea_session_provider_config }}
{{ gitea_session_extra_config }}
;
;
Expand Down

0 comments on commit 4d6dc0d

Please sign in to comment.