diff options
Diffstat (limited to 'src/chttpd_auth.erl')
-rw-r--r-- | src/chttpd_auth.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chttpd_auth.erl b/src/chttpd_auth.erl index 3916f7cf..4159b764 100644 --- a/src/chttpd_auth.erl +++ b/src/chttpd_auth.erl @@ -312,7 +312,7 @@ create_user(#httpd{method='POST', mochi_req=MochiReq}=Req, Db) -> true -> ok end, Active = chttpd_view:parse_bool_param(couch_util:get_value("active", Form, "true")), - UserSalt = couch_util:new_uuid(), + UserSalt = couch_uuids:random(), UserDoc = #doc{ id = UserName, body = {[ |