mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
parent
6abe154967
commit
8d0773fa7b
@ -2849,7 +2849,7 @@ function bb_captcha ($mode, $callback = '')
|
|||||||
$public = $bb_cfg['captcha']['public_key'];
|
$public = $bb_cfg['captcha']['public_key'];
|
||||||
$theme = isset($bb_cfg['captcha']['theme']) ? $bb_cfg['captcha']['theme'] : 'light';
|
$theme = isset($bb_cfg['captcha']['theme']) ? $bb_cfg['captcha']['theme'] : 'light';
|
||||||
|
|
||||||
if ($bb_cfg['captcha']['disabled'] || !$public || !$secret)
|
if (!$bb_cfg['captcha']['disabled'] && (!$public || !$secret))
|
||||||
{
|
{
|
||||||
bb_die($lang['CAPTCHA_SETTINGS']);
|
bb_die($lang['CAPTCHA_SETTINGS']);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user