diff options
| author | Daniil Fedotov <dfedotov@pivotal.io> | 2016-04-22 13:39:34 +0100 |
|---|---|---|
| committer | Daniil Fedotov <dfedotov@pivotal.io> | 2016-04-22 13:39:34 +0100 |
| commit | f84eeccc05ecaa30e8546314fea82c96be787ebe (patch) | |
| tree | dacb874257ede872c70c08601970316207fbffba | |
| parent | 00e6d4ce087dce2b8ed930eac850b003d9919908 (diff) | |
| parent | 534cf5e6e64053c181c3f4b7bd33bb35567f1c55 (diff) | |
| download | rabbitmq-server-git-f84eeccc05ecaa30e8546314fea82c96be787ebe.tar.gz | |
Merge branch 'stable'
| -rw-r--r-- | src/rabbit_direct.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_direct.erl b/src/rabbit_direct.erl index 35d7eb7940..b5970274d4 100644 --- a/src/rabbit_direct.erl +++ b/src/rabbit_direct.erl @@ -76,8 +76,8 @@ connect({Username, none}, VHost, Protocol, Pid, Infos) -> VHost, Protocol, Pid, Infos); connect({Username, Password}, VHost, Protocol, Pid, Infos) -> - connect0(fun () -> rabbit_access_control:check_user_pass_login( - Username, Password) end, + connect0(fun () -> rabbit_access_control:check_user_login( + Username, [{password, Password}, {vhost, VHost}]) end, VHost, Protocol, Pid, Infos). connect0(AuthFun, VHost, Protocol, Pid, Infos) -> |
