aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Import.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-03-31 13:59:43 +0200
committerMario Vavti <mario@mariovavti.com>2017-03-31 13:59:43 +0200
commitd9ee8b2c32d3a5561c343bae23dc46820b02fa21 (patch)
tree97d40446380b78aa2024bd6c4123c9a278052a92 /Zotlabs/Module/Import.php
parent614366e499eb5735673ebceb6814440f66968826 (diff)
parent89e3f3210f5d8ddd49386a5c16320c4d2b909906 (diff)
downloadvolse-hubzilla-d9ee8b2c32d3a5561c343bae23dc46820b02fa21.tar.gz
volse-hubzilla-d9ee8b2c32d3a5561c343bae23dc46820b02fa21.tar.bz2
volse-hubzilla-d9ee8b2c32d3a5561c343bae23dc46820b02fa21.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev
Diffstat (limited to 'Zotlabs/Module/Import.php')
-rw-r--r--Zotlabs/Module/Import.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zotlabs/Module/Import.php b/Zotlabs/Module/Import.php
index b98c9be9b..54bc7de81 100644
--- a/Zotlabs/Module/Import.php
+++ b/Zotlabs/Module/Import.php
@@ -478,6 +478,8 @@ class Import extends \Zotlabs\Web\Controller {
if(! $account_id)
return;
+ check_form_security_token_redirectOnErr('/import', 'channel_import');
+
$this->import_account($account_id);
}
@@ -508,6 +510,7 @@ class Import extends \Zotlabs\Web\Controller {
'$pleasewait' => t('This process may take several minutes to complete. Please submit the form only once and leave this page open until finished.'),
'$email' => '',
'$pass' => '',
+ '$form_security_token' => get_form_security_token('channel_import'),
'$submit' => t('Submit')
));