Skip to content
This repository has been archived by the owner on Feb 16, 2018. It is now read-only.

Commit

Permalink
Fix: include entity as second argument when calling on_app_created
Browse files Browse the repository at this point in the history
callback fixes #1
  • Loading branch information
Jesse Stuart committed Oct 7, 2012
1 parent f4a7671 commit c1e30cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/omniauth/strategies/tent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def create_app

if (app = res.body) && !app.kind_of?(::String)
set_app(app)
options[:on_app_created].call(get_app)
options[:on_app_created].call(get_app, get_state(:entity))
else
raise AppCreateFailure.new(res.inspect)
end
Expand Down

0 comments on commit c1e30cb

Please sign in to comment.