- - DocRoles = couch_util:get_value(<<"roles">>, UserProps),
- - [{<<"roles">>, [<<"_admin">> | DocRoles]},
- - {<<"salt">>, ?l2b(Salt)},
- - {<<"password_sha">>, ?l2b(HashedPwd)}]
- + make_admin_doc(HashedPwd, Salt, couch_util:get_value(<<"roles">>, UserProps))
- end;