You are here

constant BOTCHA_SESSION_REUSE_ATTACK_ERROR_MESSAGE in BOTCHA Spam Prevention 7

Same name and namespace in other branches
  1. 6 botcha.test \BOTCHA_SESSION_REUSE_ATTACK_ERROR_MESSAGE
  2. 6.2 botcha.test \BOTCHA_SESSION_REUSE_ATTACK_ERROR_MESSAGE
  3. 6.3 tests/botcha.simpletest.test \BOTCHA_SESSION_REUSE_ATTACK_ERROR_MESSAGE
  4. 7.2 botcha.test \BOTCHA_SESSION_REUSE_ATTACK_ERROR_MESSAGE
  5. 7.3 tests/botcha.simpletest.test \BOTCHA_SESSION_REUSE_ATTACK_ERROR_MESSAGE
2 uses of BOTCHA_SESSION_REUSE_ATTACK_ERROR_MESSAGE
BotchaBaseWebTestCase::assertBotchaResponseAccepted in ./botcha.test
Assert that the response is accepted: no "unknown CSID" message, no "CSID reuse attack detection" message, no "wrong answer" message.
BotchaSessionReuseAttackTestCase::assertBotchaSessionIdReuseAttackDetection in ./botcha.test
Assert that the BOTCHA session ID reuse attack was detected.

File

./botcha.test, line 23
Tests for BOTCHA module.

Code

define('BOTCHA_SESSION_REUSE_ATTACK_ERROR_MESSAGE', 'Form session reuse detected.');