From 72711fb85898b9fa7249c80fd97fa838f6eb0c5a Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Wed, 11 May 2016 11:01:33 +0200 Subject: [PATCH] Correction de l'utilisation de variables d'autres dictionnaires MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Par sécurité et pour éviter les problèmes j'utilise getVar pour les variables qui ne sont pas fournient par le dico du projet. ref #16117 @20m --- tmpl/oned.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tmpl/oned.conf b/tmpl/oned.conf index 23a4bee..2e619ea 100644 --- a/tmpl/oned.conf +++ b/tmpl/oned.conf @@ -710,7 +710,11 @@ HM_MAD = [ #******************************************************************************* AUTH_MAD = [ executable = "one_auth_mad", +%if %%getVar('sunstone_auth_modes', 'non') == 'non' authn = "server_cipher,default,%%sunstone_auth_modes" +%else + authn = "server_cipher,default,%%getVar('sunstone_auth_modes','')" +%end if ] SESSION_EXPIRATION_TIME = 900