mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-24 22:12:06 +02:00
Fix get method not returning all possible settings
This commit is contained in:
parent
d537c98b76
commit
91fd43b528
@ -13,8 +13,8 @@ class AppstractOptionsService implements SettingServiceInterface
|
||||
*/
|
||||
public function get(string $setting)
|
||||
{
|
||||
$value = option($setting, config('2fauth.options' . $setting));
|
||||
$value = $this->restoreType($value);
|
||||
$options = $this->all();
|
||||
$value = $options->get($setting);
|
||||
|
||||
return $value;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user