Skip to content

Commit

Permalink
fix csrf when strategy is :null_session or :reset_session, fixes #457
Browse files Browse the repository at this point in the history
  • Loading branch information
scambra committed Apr 14, 2014
1 parent 1fe5501 commit d1bb19e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/devise/invitations_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def accept_resource
end

def current_inviter
@current_inviter ||= authenticate_inviter!
authenticate_inviter!
end

def has_invitations_left?
Expand Down

0 comments on commit d1bb19e

Please sign in to comment.