diff options
Diffstat (limited to 'classes/Config.php')
| -rw-r--r-- | classes/Config.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Config.php b/classes/Config.php index 4775faf71..e22808faa 100644 --- a/classes/Config.php +++ b/classes/Config.php @@ -510,7 +510,7 @@ class Config { $errors = []; - if (strpos(self::get(Config::PLUGINS), "auth_") === false) { + if (!str_contains(self::get(Config::PLUGINS), "auth_")) { array_push($errors, "Please enable at least one authentication module via PLUGINS"); } |