Skip to content

Commit

Permalink
Invalidate captcha after reg
Browse files Browse the repository at this point in the history
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10417 89ea8834-ac86-4346-8a33-228a782c2dd0
  • Loading branch information
kellanved committed Jan 17, 2010
1 parent b9ef9b8 commit f9692ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpBB/includes/ucp/ucp_register.php
Expand Up @@ -334,7 +334,7 @@ function main($id, $mode)
}

// Okay, captcha, your job is done.
if (isset($captcha))
if ($config['enable_confirm'] && isset($captcha))
{
$captcha->reset();
}
Expand Down

0 comments on commit f9692ab

Please sign in to comment.