Permalink
Browse files

Delete state before starting request phase

  • Loading branch information...
1 parent 8fd70fb commit 54923ae9d286582359d5cc6110b3d7da8a862581 Jesse Stuart committed Oct 4, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/omniauth/strategies/tent.rb
@@ -25,6 +25,7 @@ def request_params
def request_phase
if request.post? && request_params.entity
+ delete_state!
set_state(:entity, ensure_entity_has_scheme(request_params.entity))
perform_discovery!
find_or_create_app!

0 comments on commit 54923ae

Please sign in to comment.