diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2018-07-05 11:51:49 +0300 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2018-07-05 11:51:49 +0300 |
commit | ed1ee6061e6ab7844578e17aa70b17593e2c920f (patch) | |
tree | ada0a3b6e73b412f59e18b1c36e21a82b75ab7dc /src/cyrsasl_anonymous.erl | |
parent | Move shaper to p1_utils repo (diff) |
Move move randoms module to p1_utils repo
Diffstat (limited to 'src/cyrsasl_anonymous.erl')
-rw-r--r-- | src/cyrsasl_anonymous.erl | 2 |
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}, |