Skip to content

Commit

Permalink
fix image output guardian
Browse files Browse the repository at this point in the history
  • Loading branch information
splitbrain committed Dec 6, 2023
1 parent 5697ecf commit fddee47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion img.php
Expand Up @@ -21,7 +21,7 @@
/** @var helper_plugin_captcha $plugin */
$plugin = plugin_load('helper', 'captcha');

if ($plugin->getConf('mode') != 'audio' && $plugin->getConf('mode') != 'svgaudio') {
if ($plugin->getConf('mode') != 'image' && $plugin->getConf('mode') != 'audio') {
http_status(404);
exit;
}
Expand Down

0 comments on commit fddee47

Please sign in to comment.