mirror of
https://github.com/friendica/friendica
synced 2025-05-02 08:24:22 +02:00
Normalize use of form security tokens in Admin modules
# Conflicts: # src/Module/Admin/Logs/Settings.php
This commit is contained in:
parent
2ce15cae1a
commit
9bc2c5a52e
12 changed files with 43 additions and 39 deletions
|
@ -718,7 +718,7 @@ class Site extends BaseAdmin
|
|||
'$relay_server_tags' => ['relay_server_tags', DI::l10n()->t('Server tags'), DI::config()->get('system', 'relay_server_tags'), DI::l10n()->t('Comma separated list of tags for the "tags" subscription.')],
|
||||
'$relay_user_tags' => ['relay_user_tags', DI::l10n()->t('Allow user tags'), DI::config()->get('system', 'relay_user_tags', true), DI::l10n()->t('If enabled, the tags from the saved searches will used for the "tags" subscription in addition to the "relay_server_tags".')],
|
||||
|
||||
'$form_security_token' => parent::getFormSecurityToken('admin_site'),
|
||||
'$form_security_token' => self::getFormSecurityToken('admin_site'),
|
||||
'$relocate_button' => DI::l10n()->t('Start Relocation'),
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue