diff options
| author | Michael Klishin <mklishin@pivotal.io> | 2015-09-14 10:26:16 +0300 |
|---|---|---|
| committer | Michael Klishin <mklishin@pivotal.io> | 2015-09-14 10:26:16 +0300 |
| commit | bfc4891fb4817d2cabd9d9767e98b3ff6abefc65 (patch) | |
| tree | 3e731bc318001a52ae299710de8d4aafae05a583 | |
| parent | a3e2b9edc49c4a06f956e5956d2a500cdadcf7f7 (diff) | |
| download | rabbitmq-server-git-bfc4891fb4817d2cabd9d9767e98b3ff6abefc65.tar.gz | |
rabbit.password_hashing_mod => rabbit.password_hashing_module
| -rw-r--r-- | ebin/rabbit_app.in | 2 | ||||
| -rw-r--r-- | src/rabbit_password.erl | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ebin/rabbit_app.in b/ebin/rabbit_app.in index b3125d9654..cd3516d32c 100644 --- a/ebin/rabbit_app.in +++ b/ebin/rabbit_app.in @@ -38,7 +38,7 @@ {default_vhost, <<"/">>}, {default_permissions, [<<".*">>, <<".*">>, <<".*">>]}, {loopback_users, [<<"guest">>]}, - {password_hashing_mod, rabbit_password_hashing_sha256}, + {password_hashing_module, rabbit_password_hashing_sha256}, {cluster_nodes, {[], disc}}, {server_properties, []}, {collect_statistics, none}, diff --git a/src/rabbit_password.erl b/src/rabbit_password.erl index 79fdffa08b..50c106244c 100644 --- a/src/rabbit_password.erl +++ b/src/rabbit_password.erl @@ -45,7 +45,8 @@ salted_hash(Mod, Salt, Cleartext) -> Fun(<<Salt/binary, Cleartext/binary>>). hashing_mod() -> - rabbit_misc:get_env(rabbit, password_hashing_mod, ?DEFAULT_HASHING_MODULE). + rabbit_misc:get_env(rabbit, password_hashing_module, + ?DEFAULT_HASHING_MODULE). hashing_mod(rabbit_password_hashing_sha256) -> rabbit_password_hashing_sha256; |
