Explorar o código

chore: update auth header file

firest %!s(int64=2) %!d(string=hai) anos
pai
achega
33ff5d5588
Modificáronse 1 ficheiros con 6 adicións e 7 borrados
  1. 6 7
      apps/emqx_conf/include/emqx_conf.hrl

+ 6 - 7
apps/emqx_conf/include/emqx_conf.hrl

@@ -43,13 +43,12 @@
     emqx_authz_redis_schema,
     emqx_authz_mysql_schema,
     emqx_authz_postgresql_schema,
-    emqx_authz_mongodb_schema
-]).
-
--define(EE_AUTHZ_SOURCE_SCHEMA_MODS, [
+    emqx_authz_mongodb_schema,
     emqx_authz_ldap_schema
 ]).
 
+-define(EE_AUTHZ_SOURCE_SCHEMA_MODS, []).
+
 -define(CE_AUTHN_PROVIDER_SCHEMA_MODS, [
     emqx_authn_mnesia_schema,
     emqx_authn_mysql_schema,
@@ -58,12 +57,12 @@
     emqx_authn_redis_schema,
     emqx_authn_http_schema,
     emqx_authn_jwt_schema,
-    emqx_authn_scram_mnesia_schema
+    emqx_authn_scram_mnesia_schema,
+    emqx_authn_ldap_schema,
+    emqx_authn_ldap_bind_schema
 ]).
 
 -define(EE_AUTHN_PROVIDER_SCHEMA_MODS, [
-    emqx_authn_ldap_schema,
-    emqx_authn_ldap_bind_schema,
     emqx_gcp_device_authn_schema
 ]).