add token to register
This commit is contained in:
parent
3dc938d2e9
commit
dacef3683a
2 changed files with 3 additions and 1 deletions
|
@ -6,6 +6,7 @@ require_once('include/user.php');
|
|||
|
||||
if(! function_exists('register_post')) {
|
||||
function register_post(App $a) {
|
||||
check_form_security_token_redirectOnErr('/register', 'register');
|
||||
|
||||
global $lang;
|
||||
|
||||
|
@ -294,7 +295,7 @@ function register_content(App $a) {
|
|||
'$sitename' => $a->get_hostname(),
|
||||
'$importh' => t('Import'),
|
||||
'$importt' => t('Import your profile to this friendica instance'),
|
||||
|
||||
'$form_security_token' => get_form_security_token("register")
|
||||
));
|
||||
return $o;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue