mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-27 13:15:28 +02:00
Restrict comparison to null value only
This commit is contained in:
@@ -67,7 +67,7 @@ class SettingController extends Controller
|
||||
{
|
||||
$setting = $this->settingService->get($settingName);
|
||||
|
||||
if (!$setting) {
|
||||
if (is_null($setting)) {
|
||||
abort(404);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user