aboutsummaryrefslogtreecommitdiffstats
path: root/mod/admin.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-20 14:19:25 -0800
committerfriendica <info@friendica.com>2014-01-20 14:19:25 -0800
commit8cd6c97e217f4587dc02db66d8d22bba38159d36 (patch)
treeee5eba7b3caf5f713fb5b98a199305b33174ce51 /mod/admin.php
parent5b69e3b79535d7d903d1f203f03b0647188eebc8 (diff)
parente3e7ef51afcf44fb938022cb01e77b9d8a833c3b (diff)
downloadvolse-hubzilla-8cd6c97e217f4587dc02db66d8d22bba38159d36.tar.gz
volse-hubzilla-8cd6c97e217f4587dc02db66d8d22bba38159d36.tar.bz2
volse-hubzilla-8cd6c97e217f4587dc02db66d8d22bba38159d36.zip
Merge https://github.com/friendica/red into zpull
Diffstat (limited to 'mod/admin.php')
-rw-r--r--mod/admin.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/mod/admin.php b/mod/admin.php
index 91dd0b56e..984e12777 100644
--- a/mod/admin.php
+++ b/mod/admin.php
@@ -456,7 +456,8 @@ function admin_page_site(&$a) {
}
function admin_page_hubloc_post(&$a){
- check_form_security_token_redirectOnErr('/admin/hubloc', 'hubloc');
+ check_form_security_token_redirectOnErr('/admin/hubloc', 'admin_hubloc');
+ goaway($a->get_baseurl(true) . '/admin/hubloc' );
return;
}
@@ -479,7 +480,8 @@ function admin_page_hubloc(&$a) {
'$queues' => $queues,
//'$accounts' => $accounts, /*$accounts is empty here*/
'$pending' => Array( t('Pending registrations'), $pending),
- '$plugins' => Array( t('Active plugins'), $a->plugins )
+ '$plugins' => Array( t('Active plugins'), $a->plugins ),
+ '$form_security_token' => get_form_security_token("admin_hubloc")
));
return $o;
}