diff options
| author | Michael Klishin <mklishin@pivotal.io> | 2015-09-17 16:52:21 +0300 |
|---|---|---|
| committer | Michael Klishin <mklishin@pivotal.io> | 2015-09-17 16:52:21 +0300 |
| commit | f62e117a0f10b249d52fcf8627a0e0c0011ee1d7 (patch) | |
| tree | 75e3b80c94dc5af36df405cad34978bcdb107e09 /src | |
| parent | a3d5ae86bceb7181c8bb82991fabe129179ee887 (diff) | |
| download | rabbitmq-server-git-f62e117a0f10b249d52fcf8627a0e0c0011ee1d7.tar.gz | |
Ditto
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_auth_backend_internal.erl | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/rabbit_auth_backend_internal.erl b/src/rabbit_auth_backend_internal.erl index d9e6337228..eaef7cfda5 100644 --- a/src/rabbit_auth_backend_internal.erl +++ b/src/rabbit_auth_backend_internal.erl @@ -159,10 +159,9 @@ permission_index(read) -> #permission.read. add_user(Username, Password) -> rabbit_log:info("Creating user '~s'~n", [Username]), - %% hash_password will pick the hashing - %% function configured for us but we - %% also need to store a hint as part of the - %% record, so we retrieve it here one more time + %% hash_password will pick the hashing function configured for us + %% but we also need to store a hint as part of the record, so we + %% retrieve it here one more time HashingMod = rabbit_password:hashing_mod(), User = #internal_user{username = Username, password_hash = hash_password(HashingMod, Password), |
