diff options
author | rvelices <rv-github@modusoptimus.com> | 2010-10-30 11:32:11 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2010-10-30 11:32:11 +0000 |
commit | d8ec9b9fdd6fb5a29e762ecd95d440f8942ca382 (patch) | |
tree | 97fb4e7424278f37020d6ad4951480a474dd8b8a /include/ws_functions.inc.php | |
parent | 6f841013d93c3252ffb022594118b96aef25ea69 (diff) |
feature 1915: add protection on user registration against robots
git-svn-id: http://piwigo.org/svn/trunk@7495 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/ws_functions.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php index ec9227d49..3cc0fc3a3 100644 --- a/include/ws_functions.inc.php +++ b/include/ws_functions.inc.php @@ -725,7 +725,7 @@ SELECT id, date, author, content ) { $comment_post_data['author'] = stripslashes($user['username']); - $comment_post_data['key'] = get_comment_post_key($params['image_id']); + $comment_post_data['key'] = get_ephemeral_key(2, $params['image_id']); } $ret = $image_row; |