Use CSRF token as name and value for contact deletion confirm form
This commit is contained in:
parent
06b8f93eae
commit
44ec4de14c
|
@ -432,7 +432,8 @@ class Contact extends BaseModule
|
|||
'$message' => DI::l10n()->t('Do you really want to delete this contact?'),
|
||||
'$confirm' => DI::l10n()->t('Yes'),
|
||||
'$confirm_url' => DI::args()->getCommand(),
|
||||
'$confirm_name' => 'confirmed',
|
||||
'$confirm_name' => 't',
|
||||
'$confirm_value' => BaseModule::getFormSecurityToken('contact_action'),
|
||||
'$cancel' => DI::l10n()->t('Cancel'),
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user