summaryrefslogtreecommitdiff
path: root/classes/Config.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/Config.php')
-rw-r--r--classes/Config.php2
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");
}