• Dries's avatar
    - Patch #28420 by Jeremy: provide a more generic interface that can be used · 2ef6b52c
    Dries 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.
common.inc 62.8 KB