- Patch #28420 by Jeremy: provide a more generic interface that can be used
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.
parent
fe5f70b6
Please register or sign in to comment