chore: remove unnessary function case

This commit is contained in:
zhongwencool 2022-06-23 12:09:26 +08:00
parent 4a87d77be3
commit fd22639bcb
1 changed files with 0 additions and 1 deletions

View File

@ -293,7 +293,6 @@ initial_default_user_passwd_hashed() ->
%% use this persistent_term for a copy of the value in mnesia database %% use this persistent_term for a copy of the value in mnesia database
%% so that after the node leaves a cluster, db gets purged, %% so that after the node leaves a cluster, db gets purged,
%% we can still find the changed password back from PT %% 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) -> ensure_default_user_passwd_hashed_in_pt(Hashed) ->
ok = persistent_term:put({?MODULE, default_user_passwd_hashed}, Hashed). ok = persistent_term:put({?MODULE, default_user_passwd_hashed}, Hashed).