aboutsummaryrefslogtreecommitdiffstats
path: root/include/security.php
diff options
context:
space:
mode:
authorTobias Diekershoff <tobias.diekershoff@gmx.net>2012-04-17 18:07:20 +0200
committerTobias Diekershoff <tobias.diekershoff@gmx.net>2012-04-17 18:07:20 +0200
commitdbff4252d4ac7ccc1cda6b378a53c6761ea4c49d (patch)
tree23e17c4ceb420292d2dff3137ad4723f3d94fb4f /include/security.php
parent757e3429ac6928c45ffebf0b64288e63efbc6322 (diff)
parentb30c761aae7e01e6fe727232e48b14303484a228 (diff)
downloadvolse-hubzilla-dbff4252d4ac7ccc1cda6b378a53c6761ea4c49d.tar.gz
volse-hubzilla-dbff4252d4ac7ccc1cda6b378a53c6761ea4c49d.tar.bz2
volse-hubzilla-dbff4252d4ac7ccc1cda6b378a53c6761ea4c49d.zip
Merge branch 'master' of https://github.com/friendica/friendica
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');