From fd22639bcb2f1ec66eb6a2326ecadfeef933ed17 Mon Sep 17 00:00:00 2001 From: zhongwencool Date: Thu, 23 Jun 2022 12:09:26 +0800 Subject: [PATCH] chore: remove unnessary function case --- lib-ce/emqx_dashboard/src/emqx_dashboard_admin.erl | 1 - 1 file changed, 1 deletion(-) diff --git a/lib-ce/emqx_dashboard/src/emqx_dashboard_admin.erl b/lib-ce/emqx_dashboard/src/emqx_dashboard_admin.erl index a3a773114..b7c729955 100644 --- a/lib-ce/emqx_dashboard/src/emqx_dashboard_admin.erl +++ b/lib-ce/emqx_dashboard/src/emqx_dashboard_admin.erl @@ -293,7 +293,6 @@ initial_default_user_passwd_hashed() -> %% use this persistent_term for a copy of the value in mnesia database %% so that after the node leaves a cluster, db gets purged, %% we can still find the changed password back from PT -ensure_default_user_passwd_hashed_in_pt(<<>>) -> ok; ensure_default_user_passwd_hashed_in_pt(Hashed) -> ok = persistent_term:put({?MODULE, default_user_passwd_hashed}, Hashed).