diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-09-18 11:50:22 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-09-18 11:50:22 +0000 |
commit | 2ef6b52c8304aaa360e47402e6aa66c7db9fc149 (patch) | |
tree | 1eae264453ad2d6daffaa051272a36f058321cef /modules/blog/blog.module | |
parent | fe5f70b61bc919b7962a62cdda6beac762132b6e (diff) | |
download | brdo-2ef6b52c8304aaa360e47402e6aa66c7db9fc149.tar.gz brdo-2ef6b52c8304aaa360e47402e6aa66c7db9fc149.tar.bz2 |
- 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.
Diffstat (limited to 'modules/blog/blog.module')
0 files changed, 0 insertions, 0 deletions