Skip to content

Commit e9bb689

Browse files
authoredOct 16, 2023
Provide informative csrf attack message. (artefactual#1678) (artefactual#1681)
1 parent b3dd14f commit e9bb689

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎vendor/symfony/lib/validator/sfValidatorCSRFToken.class.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ protected function configure($options = array(), $messages = array())
2727

2828
$this->setOption('required', true);
2929

30-
$this->addMessage('csrf_attack', 'CSRF attack detected.');
30+
$this->addMessage('csrf_attack', 'CSRF Token Expired. Please refresh the page and log in again.');
3131
}
3232

3333
/**

0 commit comments

Comments
 (0)
Please sign in to comment.