Skip to content

Commit

Permalink
Merge pull request #156 from basho/adt-security-holes
Browse files Browse the repository at this point in the history
Don't start riak_search is security is enabled
  • Loading branch information
Vagabond committed Dec 17, 2013
2 parents 502adec + 9a31815 commit 756a105
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/riak_search_app.erl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
%% ===================================================================

start(_StartType, _StartArgs) ->
case app_helper:get_env(riak_search, enabled, false) of
case app_helper:get_env(riak_search, enabled, false) and not
riak_core_security:is_enabled() of
true ->
%% Ensure that the KV service has fully loaded.
riak_core:wait_for_service(riak_kv),
Expand Down

0 comments on commit 756a105

Please sign in to comment.