app/controllers/devise/invitations_controller.rb in devise_invitable-1.7.4 vs app/controllers/devise/invitations_controller.rb in devise_invitable-1.7.5
- old
+ new
@@ -35,10 +35,9 @@
end
end
# GET /resource/invitation/accept?invitation_token=abcdef
def edit
- sign_out send("current_#{resource_name}") if send("#{resource_name}_signed_in?")
set_minimum_password_length
resource.invitation_token = params[:invitation_token]
render :edit
end