summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDries Buytaert2008-05-26 17:24:42 (GMT)
committerDries Buytaert2008-05-26 17:24:42 (GMT)
commitfe7761fc54a955f3b69956e1493feab57b4df64c (patch)
tree2b8796bc54fb1168c893bfd11ff4e757521428a3
parent7804e634d610b03dc5d318143c5bdcfe1b118bf0 (diff)
- Patch #256509 by dropcube: return a 403 - access denied when an invalid cron key is used.
-rw-r--r--cron.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/cron.php b/cron.php
index cc6f4bf..063b1fe 100644
--- a/cron.php
+++ b/cron.php
@@ -13,4 +13,5 @@ if (isset($_GET['cron_key']) && variable_get('cron_key', 'drupal') == $_GET['cro
}
else {
watchdog('cron', 'Cron did not run because an invalid key used.', array(), WATCHDOG_NOTICE);
+ drupal_access_denied();
}