Skip to content
  • Dries Buytaert's avatar
    - Patch #28420 by Jeremy: provide a more generic interface that can be used · dec4ddd3
    Dries Buytaert authored
      to validate other form submissions, not just comments. Two new functions
      are introduced, form_token() and form_validate(). The first function uses
      a private key and a public key to set a token in a hidden field. The second
      function validates the token. The comment and contect module are updated to
      use these functions.
    dec4ddd3