mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-09 05:54:34 +02:00
Move options to config/2fauth
This commit is contained in:
@ -140,7 +140,7 @@ class SettingController extends Controller
|
||||
abort(404);
|
||||
}
|
||||
|
||||
$optionsConfig = config('app.options');
|
||||
$optionsConfig = config('2fauth.options');
|
||||
if(array_key_exists($settingName, $optionsConfig)) {
|
||||
return response()->json(
|
||||
['message' => 'bad request',
|
||||
|
Reference in New Issue
Block a user