Merge pull request #9925 from zmstone/0206-refactor-remove-dead-code

refactor: remove dead code
This commit is contained in:
Zaiming (Stone) Shi 2023-02-07 11:34:54 +01:00 committed by GitHub
commit e694e5fd13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 20 deletions

View File

@ -197,20 +197,6 @@ Authentication will verify that the value of claims in the JWT (taken from the P
} }
} }
ssl_disable {
desc {
en: """SSL configuration."""
zh: """SSL 配置。"""
}
}
ssl_enable {
desc {
en: """SSL configuration."""
zh: """SSL 配置。"""
}
}
acl_claim_name { acl_claim_name {
desc { desc {
en: """JWT claim name to use for getting ACL rules.""" en: """JWT claim name to use for getting ACL rules."""

View File

@ -1,7 +1,7 @@
%% -*- mode: erlang -*- %% -*- mode: erlang -*-
{application, emqx_authn, [ {application, emqx_authn, [
{description, "EMQX Authentication"}, {description, "EMQX Authentication"},
{vsn, "0.1.12"}, {vsn, "0.1.13"},
{modules, []}, {modules, []},
{registered, [emqx_authn_sup, emqx_authn_registry]}, {registered, [emqx_authn_sup, emqx_authn_registry]},
{applications, [kernel, stdlib, emqx_resource, emqx_connector, ehttpc, epgsql, mysql, jose]}, {applications, [kernel, stdlib, emqx_resource, emqx_connector, ehttpc, epgsql, mysql, jose]},

View File

@ -91,11 +91,7 @@ desc('public-key') ->
?DESC('public-key'); ?DESC('public-key');
desc('jwks') -> desc('jwks') ->
?DESC('jwks'); ?DESC('jwks');
desc(ssl_disable) -> desc(undefined) ->
?DESC(ssl_disable);
desc(ssl_enable) ->
?DESC(ssl_enable);
desc(_) ->
undefined. undefined.
common_fields() -> common_fields() ->