Skip to content

Commit 04e451e

Browse files
committed
add session.disable_fallback configuration
1 parent a9228ee commit 04e451e

2 files changed

Lines changed: 1195 additions & 8 deletions

File tree

setup/config/config.tpl

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ $config = array(
7979
* You can also put a hash here; run "bin/pwgen.php" to generate one.
8080
*/
8181
'auth.adminpassword' => {{ADMIN_PASSWORD}},
82-
'admin.protectindexpage' => false,
83-
'admin.protectmetadata' => false,
82+
'admin.protectindexpage' => true,
83+
'admin.protectmetadata' => true,
8484

8585
/**
8686
* This is a secret salt used by SimpleSAMLphp when it needs to generate a secure hash
@@ -350,6 +350,12 @@ $config = array(
350350
*/
351351
'session.cookie.secure' => false,
352352

353+
/*
354+
* When set to FALSE fallback to transient session on session initialization
355+
* failure, throw exception otherwise.
356+
*/
357+
'session.disable_fallback' => true,
358+
353359
/*
354360
* Enable secure POST from HTTPS to HTTP.
355361
*
@@ -403,13 +409,9 @@ $config = array(
403409
/*
404410
* Languages available, RTL languages, and what language is default
405411
*/
406-
'language.available' => array(
407-
'en', 'no', 'nn', 'se', 'da', 'de', 'sv', 'fi', 'es', 'fr', 'it', 'nl', 'lb', 'cs',
408-
'sl', 'lt', 'hr', 'hu', 'pl', 'pt', 'pt-br', 'tr', 'ja', 'zh', 'zh-tw', 'ru', 'et',
409-
'he', 'id', 'sr', 'lv', 'ro', 'eu'
410-
),
412+
'language.available' => array('it'),
411413
'language.rtl' => array('ar', 'dv', 'fa', 'ur', 'he'),
412-
'language.default' => 'en',
414+
'language.default' => 'it',
413415

414416
/*
415417
* Options to override the default settings for the language parameter

0 commit comments

Comments
 (0)