|
|
@@ -46,7 +46,7 @@ select_union_member(_Kind, _Value) ->
|
|
|
fields(builtin_db) ->
|
|
|
[
|
|
|
{password_hash_algorithm, fun emqx_authn_password_hashing:type_rw/1}
|
|
|
- ] ++ common_fields() ++ bootstrap_fields();
|
|
|
+ ] ++ common_fields().
|
|
|
fields(builtin_db_api) ->
|
|
|
[
|
|
|
{password_hash_algorithm, fun emqx_authn_password_hashing:type_rw_api/1}
|
|
|
@@ -68,7 +68,8 @@ common_fields() ->
|
|
|
{mechanism, emqx_authn_schema:mechanism(?AUTHN_MECHANISM_SIMPLE)},
|
|
|
{backend, emqx_authn_schema:backend(?AUTHN_BACKEND)},
|
|
|
{user_id_type, fun user_id_type/1}
|
|
|
- ] ++ emqx_authn_schema:common_fields().
|
|
|
+ ] ++ bootstrap_fields() ++
|
|
|
+ emqx_authn_schema:common_fields().
|
|
|
|
|
|
bootstrap_fields() ->
|
|
|
[
|