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 => {