mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-20 13:24:01 -07:00
Revert "Fixed incorrect condition in bb_captcha (#1231)"
This reverts commit 2bb6c50710
.
This commit is contained in:
parent
2bb6c50710
commit
86eb427fbd
2 changed files with 1 additions and 2 deletions
|
@ -25,7 +25,6 @@
|
||||||
- Code re-formatting [\#1225](https://github.com/torrentpier/torrentpier/pull/1225) ([kovalensky](https://github.com/kovalensky))
|
- Code re-formatting [\#1225](https://github.com/torrentpier/torrentpier/pull/1225) ([kovalensky](https://github.com/kovalensky))
|
||||||
- Introduce limit setting for max number of files to be processed in separate index file-listing [\#1223](https://github.com/torrentpier/torrentpier/pull/1223) ([kovalensky](https://github.com/kovalensky))
|
- Introduce limit setting for max number of files to be processed in separate index file-listing [\#1223](https://github.com/torrentpier/torrentpier/pull/1223) ([kovalensky](https://github.com/kovalensky))
|
||||||
- Fixed set auth cookie issue [\#1227](https://github.com/torrentpier/torrentpier/pull/1227) ([belomaxorka](https://github.com/belomaxorka))
|
- Fixed set auth cookie issue [\#1227](https://github.com/torrentpier/torrentpier/pull/1227) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
- Fixed incorrect condition in bb_captcha [\#1231](https://github.com/torrentpier/torrentpier/pull/1231) ([belomaxorka](https://github.com/belomaxorka))
|
|
||||||
- New Crowdin updates [\#1203](https://github.com/torrentpier/torrentpier/pull/1203), [\#1222](https://github.com/torrentpier/torrentpier/pull/1222) ([Exileum](https://github.com/Exileum))
|
- New Crowdin updates [\#1203](https://github.com/torrentpier/torrentpier/pull/1203), [\#1222](https://github.com/torrentpier/torrentpier/pull/1222) ([Exileum](https://github.com/Exileum))
|
||||||
|
|
||||||
## [v2.4.0-rc2](https://github.com/torrentpier/torrentpier/tree/v2.4.0-rc2) (2023-12-12)
|
## [v2.4.0-rc2](https://github.com/torrentpier/torrentpier/tree/v2.4.0-rc2) (2023-12-12)
|
||||||
|
|
|
@ -2110,7 +2110,7 @@ function bb_captcha($mode, $callback = '')
|
||||||
$public = $bb_cfg['captcha']['public_key'];
|
$public = $bb_cfg['captcha']['public_key'];
|
||||||
$cp_theme = $bb_cfg['captcha']['theme'] ?? 'light';
|
$cp_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…
Add table
Add a link
Reference in a new issue