summaryrefslogtreecommitdiff
path: root/src/cyrsasl_scram.erl
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2015-11-24 18:44:13 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2015-11-24 18:44:13 +0300
commit95265dd3ad8e149d94d08e1a73970fb0bbf55b49 (patch)
treea00a134cf0148a121ea505809cef0d9d49799652 /src/cyrsasl_scram.erl
parentMake Riak working on R18 (diff)
Move JID related functions to jid.erl (#847)
Diffstat (limited to 'src/cyrsasl_scram.erl')
-rw-r--r--src/cyrsasl_scram.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cyrsasl_scram.erl b/src/cyrsasl_scram.erl
index 1805a16e..17a32ef9 100644
--- a/src/cyrsasl_scram.erl
+++ b/src/cyrsasl_scram.erl
@@ -79,7 +79,7 @@ mech_step(#state{step = 2} = State, ClientIn) ->
case parse_attribute(ClientNonceAttribute) of
{$r, ClientNonce} ->
{Ret, _AuthModule} = (State#state.get_password)(UserName),
- case {Ret, jlib:resourceprep(Ret)} of
+ case {Ret, jid:resourceprep(Ret)} of
{false, _} -> {error, <<"not-authorized">>, UserName};
{_, error} when is_binary(Ret) -> ?WARNING_MSG("invalid plain password", []), {error, <<"not-authorized">>, UserName};
{Ret, _} ->