From 40b70b17f87933d920c36b192e5e45172340467a Mon Sep 17 00:00:00 2001 From: Christophe Maudoux Date: Wed, 31 Aug 2022 12:10:37 +0200 Subject: [PATCH] Remove default value (#2674) --- doc/sources/admin/security.rst | 2 +- .../lib/Lemonldap/NG/Manager/Build/Attributes.pm | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/sources/admin/security.rst b/doc/sources/admin/security.rst index 8bb6c5898..2ae104a5d 100644 --- a/doc/sources/admin/security.rst +++ b/doc/sources/admin/security.rst @@ -332,7 +332,7 @@ Go in Manager, ``General parameters`` » ``Advanced parameters`` » - **Form timeout**: Form token timeout (default to 120 seconds) - **Use global storage**: Local cache is used by default for one time tokens. To use global storage, set it to 'On' -- **Strict-Transport-Security Max-age**: set STS header max-age if you use SSL only (default=15768000) +- **Strict-Transport-Security Max-age**: set STS header max-age if you use SSL only (by example: 15768000) - **CrowdSec Bouncer**: set to 'On' to enable :doc:`CrowdSec Bouncer plugin` - **Brute-Force Attack protection**: set to 'On' to enable :doc:`Brute-force protection plugin` - **LWP::UserAgent and SSL options**: insert here options to pass to diff --git a/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Build/Attributes.pm b/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Build/Attributes.pm index efdf21351..e697a5a58 100644 --- a/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Build/Attributes.pm +++ b/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Build/Attributes.pm @@ -1097,7 +1097,6 @@ sub attributes { }, strictTransportSecurityMax_Age => { type => 'text', - default => '15768000', documentation => 'Max-age for Strict-Transport-Security', }, cspDefault => {