1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-28 12:30:42 +02:00

Invalidate captcha after reg

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10417 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Henry Sudhof
2010-01-17 17:04:56 +00:00
parent b9ef9b8786
commit f9692abe92

View File

@@ -334,7 +334,7 @@ class ucp_register
} }
// Okay, captcha, your job is done. // Okay, captcha, your job is done.
if (isset($captcha)) if ($config['enable_confirm'] && isset($captcha))
{ {
$captcha->reset(); $captcha->reset();
} }