From 75bf305b2f084958d43689b3781d03a29cc21f60 Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Wed, 17 Sep 2014 14:07:52 +0200 Subject: Test HTTP REFERER in install.php Test is actually basic, we need to use Minz_Request::isRefererFromSameDomain() method to improve checking --- app/i18n/install.en.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/i18n/install.en.php') diff --git a/app/i18n/install.en.php b/app/i18n/install.en.php index 50208fcef..487b5073a 100644 --- a/app/i18n/install.en.php +++ b/app/i18n/install.en.php @@ -42,6 +42,8 @@ return array ( 'data_is_ok' => 'Permissions on data directory are good', 'persona_is_ok' => 'Permissions on Mozilla Persona directory are good', 'file_is_nok' => 'Check permissions on %s directory. HTTP server must have rights to write into', + 'http_referer_is_ok' => 'Your HTTP REFERER is known and corresponds to your server.', + 'http_referer_is_nok' => 'Please check you are not altering your HTTP REFERER.', 'fix_errors_before' => 'Fix errors before skip to the next step.', 'general_conf_is_ok' => 'General configuration has been saved.', -- cgit v1.2.3