aboutsummaryrefslogtreecommitdiffstats
path: root/include/security.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-17 06:50:09 -0700
committerfriendica <info@friendica.com>2012-04-17 06:50:09 -0700
commit8269d6aa19eb71063ff578b43b237ffd4fea93b1 (patch)
tree58ff40aa9414f8484a3f1091b616e81db720822e /include/security.php
parente6330e3b966401f83d54bdd08c9ed9ab294643e0 (diff)
parent720c8324c7572ebf51e4083430e060900cb30750 (diff)
downloadvolse-hubzilla-8269d6aa19eb71063ff578b43b237ffd4fea93b1.tar.gz
volse-hubzilla-8269d6aa19eb71063ff578b43b237ffd4fea93b1.tar.bz2
volse-hubzilla-8269d6aa19eb71063ff578b43b237ffd4fea93b1.zip
Merge pull request #240 from CatoTH/master
Some bugfixes / Notices
Diffstat (limited to 'include/security.php')
-rwxr-xr-xinclude/security.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/security.php b/include/security.php
index fc816e5d7..a92400b5c 100755
--- a/include/security.php
+++ b/include/security.php
@@ -339,6 +339,7 @@ function check_form_security_token_redirectOnErr($err_redirect, $typename = '',
}
function check_form_security_token_ForbiddenOnErr($typename = '', $formname = 'form_security_token') {
if (!check_form_security_token($typename, $formname)) {
+ $a = get_app();
logger('check_form_security_token failed: user ' . $a->user['guid'] . ' - form element ' . $typename);
logger('check_form_security_token failed: _REQUEST data: ' . print_r($_REQUEST, true), LOGGER_DATA);
header('HTTP/1.1 403 Forbidden');