Skip to content

Commit

Permalink
Update for riak_core api change that makes user/pass binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
Vagabond committed Jan 10, 2014
1 parent d995e7c commit 8680e6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/riak_auth_mods_pam.erl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
auth(Username, Password, _UserOptions, SourceOptions) ->
P = canola:open(),
Service = proplists:get_value("service", SourceOptions, "riak"),
Res = canola:auth(list_to_binary(Username), list_to_binary(Password),
Res = canola:auth(Username, Password,
list_to_binary(Service), P),
canola:close(P),
Res.

1 comment on commit 8680e6a

@andrewjstone
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.