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