This is an automated email from the ASF dual-hosted git repository.

dill0wn pushed a commit to branch dw/8495
in repository https://gitbox.apache.org/repos/asf/allura.git

commit e87d04ba4be7c5e5fcb33aa5d029c7a2cf321445
Author: Dillon Walls <[email protected]>
AuthorDate: Thu Jan 26 19:48:58 2023 +0000

    [#8495] fix DeprecationWarning 'beaker.session.*' config keys -> 'session.*'
---
 Allura/development.ini               | 12 ++++++------
 Allura/production-docker-example.ini |  4 ++--
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/Allura/development.ini b/Allura/development.ini
index 7872c3d92..2be945265 100644
--- a/Allura/development.ini
+++ b/Allura/development.ini
@@ -108,13 +108,13 @@ jinja_cache_size = -1
 
 ; Docs at 
http://beaker.readthedocs.org/en/latest/configuration.html#session-options
 ; and 
http://beaker.readthedocs.org/en/latest/modules/session.html#beaker.session.CookieSession
-beaker.session.key = allura
-beaker.session.type = cookie
-beaker.session.httponly = true
+session.key = allura
+session.type = cookie
+session.httponly = true
 ; set this to true if you use HTTPS
-beaker.session.secure = false
+session.secure = false
 ; CHANGE THIS VALUE FOR YOUR SITE
-beaker.session.validate_key = 714bfe3612c42390726f
+session.validate_key = 714bfe3612c42390726f
 
 ;
 ; Settings for global navigation
@@ -321,7 +321,7 @@ webhook.repo_push.max_hooks = {"git": 3, "hg": 3, "svn": 3}
 ;search.project.additional_display_fields = private, url, title
 ;search.user.additional_display_fields = email_addresses
 
-; To make all pages use ssl:   (also set beaker.session.secure above)
+; To make all pages use ssl:   (also set session.secure above)
 ;force_ssl.pattern = .
 ; And to permit some URLs to be accessed over http anyway:
 ;    /_test_vars is used when running `paster shell`
diff --git a/Allura/production-docker-example.ini 
b/Allura/production-docker-example.ini
index df5dd5960..55e5142bd 100644
--- a/Allura/production-docker-example.ini
+++ b/Allura/production-docker-example.ini
@@ -24,7 +24,7 @@
 ; Also change:
 ;  site_name
 ;  smtp_server
-;  beaker.session.validate_key
+;  session.validate_key
 ;
 ; This file inherits settings from docker-dev.ini and development.ini
 ; You are free to make additional changes/additions to this file for other 
settings
@@ -61,7 +61,7 @@ smtp_tls = true
 forgemail.domain = .myexamplesite.com
 forgemail.return_path = [email protected]
 
-beaker.session.validate_key = 712de83fa0cb0d0f0a383
+session.validate_key = 712de83fa0cb0d0f0a383
 
 auth.allow_birth_date = false
 trovecategories.enableediting = admin

Reply via email to