From 01ad3b74bf4ec046c3e14267017670239c098dec Mon Sep 17 00:00:00 2001 From: x2003bruneau Date: Wed, 28 Feb 2007 13:12:23 +0000 Subject: [PATCH] Close #640: As we have a certificat only for one domain name, we have to use this domain for https connections git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1528 839d8a87-29fc-0310-9880-83ba4fa771e5 --- ChangeLog | 3 +++ configs/platal.ini | 1 + templates/core/password_prompt.tpl | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b6a6a3b..8a8b6fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -21,6 +21,9 @@ Bug/Wish: * Carnet: - #510: Use RSS hash to get iCal -FRU + * Core: + - #640: Always switch to the good secure server -FRU + * Emails: - #595: Update antispam description -FRU diff --git a/configs/platal.ini b/configs/platal.ini index e9de050..7d79051 100644 --- a/configs/platal.ini +++ b/configs/platal.ini @@ -1,6 +1,7 @@ [Core] locale = "fr_FR.UTF-8" timezone = "Europe/Paris" +secure_domain = "" [Banana] server = "localhost" diff --git a/templates/core/password_prompt.tpl b/templates/core/password_prompt.tpl index fdc54a8..ba27a4c 100644 --- a/templates/core/password_prompt.tpl +++ b/templates/core/password_prompt.tpl @@ -68,8 +68,8 @@ Si tu n'es pas {insert name="getName"}, change le login ci-dessous, ou rends-toi -- 2.1.4
{if $smarty.server.HTTPS}{icon name=lock}{/if} Identification - {if !$smarty.server.HTTPS} - (pl_self()}">{icon name=lock_add} Passer en connexion sécurisée) + {if !$smarty.server.HTTPS && #globals.core.secure_domain#} + ({icon name=lock_add} Passer en connexion sécurisée) {/if}