diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_password.erl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/rabbit_password.erl b/src/rabbit_password.erl index 823ab08d90..7bc1b28e21 100644 --- a/src/rabbit_password.erl +++ b/src/rabbit_password.erl @@ -56,11 +56,9 @@ hashing_mod(rabbit_password_hashing_sha256) -> rabbit_password_hashing_sha256; hashing_mod(rabbit_password_hashing_md5) -> rabbit_password_hashing_md5; -%% fall back to the hashing function that's been -%% used prior to 3.6.0 +%% fall back to the hashing function that's been used prior to 3.6.0 hashing_mod(undefined) -> rabbit_password_hashing_md5; -%% if a custom module is configured, -%% simply use it +%% if a custom module is configured, simply use it hashing_mod(CustomMod) when is_atom(CustomMod) -> CustomMod. |
