aboutsummaryrefslogtreecommitdiff
path: root/src/cyrsasl_anonymous.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cyrsasl_anonymous.erl')
-rw-r--r--src/cyrsasl_anonymous.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cyrsasl_anonymous.erl b/src/cyrsasl_anonymous.erl
index e88eba7d6..557f22c29 100644
--- a/src/cyrsasl_anonymous.erl
+++ b/src/cyrsasl_anonymous.erl
@@ -43,7 +43,7 @@ mech_new(Host, _GetPassword, _CheckPassword, _CheckPasswordDigest) ->
{ok, #state{server = Host}}.
mech_step(#state{}, _ClientIn) ->
- User = iolist_to_binary([randoms:get_string(),
+ User = iolist_to_binary([p1_rand:get_string(),
integer_to_binary(p1_time_compat:unique_integer([positive]))]),
{ok, [{username, User},
{authzid, User},