From 728ac2daaeaa95098aa189c03dd908eaa674a3c7 Mon Sep 17 00:00:00 2001 From: brettp Date: Sun, 24 Jan 2010 16:43:29 +0000 Subject: Refs #1459: Added missing security tokens for failsafe (installation) view. git-svn-id: http://code.elgg.org/elgg/trunk@3835 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/failsafe/input/form.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'views/failsafe/input/form.php') diff --git a/views/failsafe/input/form.php b/views/failsafe/input/form.php index 33ddfc3ea..35e718adb 100644 --- a/views/failsafe/input/form.php +++ b/views/failsafe/input/form.php @@ -41,7 +41,13 @@ if (isset($vars['method'])) { $method = strtolower($method); +// Generate a security header +$security_header = ""; +if (!isset($vars['disable_security']) || $vars['disable_security'] != true) { + $security_header = elgg_view('input/securitytoken'); +} ?>
id="" name="" action="" method="" > +
\ No newline at end of file -- cgit v1.2.3