Преглед изворни кода

Merge pull request #11807 from JimMoen/chore-11798-changelog

chore: missing change log for duplicated apikey fixing
JimMoen пре 2 година
родитељ
комит
da62242d42
2 измењених фајлова са 8 додато и 1 уклоњено
  1. 3 1
      apps/emqx_management/src/emqx_mgmt_auth.erl
  2. 5 0
      changes/ce/fix-11798.en.md

+ 3 - 1
apps/emqx_management/src/emqx_mgmt_auth.erl

@@ -262,7 +262,9 @@ maybe_cleanup_api_key(#?APP{name = Name, api_key = ApiKey}) ->
         [_App1] ->
             ?SLOG(info, #{
                 msg => "update_apikey_name_from_old_version",
-                info => <<"Update ApiKey name with new name rule, more information: xxx">>
+                info =>
+                    <<"Update ApiKey name with new name rule, see also: ",
+                        "https://github.com/emqx/emqx/pull/11798">>
             }),
             ok;
         Existed ->

+ 5 - 0
changes/ce/fix-11798.en.md

@@ -0,0 +1,5 @@
+Fixed the issue where the node could not start after executing `./bin/emqx data import [FILE]`.
+
+And strongly bind apikey's `apikey_key` to `apikey_name`.
+- `apikey_key` will generate a unique value from the given human-readable `apikey_name` when generating an apikey using dashboard.
+- `apikey_name` will be a unique value generated by `apikey_key` when using bootstrap file to generate apikey, .