diff options
Diffstat (limited to 'lib/classes/forms/Form.php')
| -rw-r--r-- | lib/classes/forms/Form.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/classes/forms/Form.php b/lib/classes/forms/Form.php index 9c22c4f..a734e6f 100644 --- a/lib/classes/forms/Form.php +++ b/lib/classes/forms/Form.php @@ -390,9 +390,8 @@ class Form extends Part */ public function store() { - if (!\CSRFProtection::verifyRequest()) { - throw new \AccessDeniedException(); - } + \CSRFProtection::verifyUnsafeRequest(); + \NotificationCenter::postNotification('FormWillStore', $this); $stored = 0; |
