mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-17 11:13:27 +02:00
feature: csrf protection
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
defined('MYAAC') or die('Direct access not allowed!');
|
||||
$title = 'Mailer';
|
||||
|
||||
csrfProtect();
|
||||
|
||||
if (!hasFlag(FLAG_CONTENT_MAILER) && !superAdmin()) {
|
||||
echo 'Access denied.';
|
||||
return;
|
||||
|
Reference in New Issue
Block a user