method

reset_csrf_token

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActionController::RequestForgeryProtection
reset_csrf_token(request) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 350
    def reset_csrf_token(request) # :doc:
      request.env.delete(CSRF_TOKEN)
      csrf_token_storage_strategy.reset(request)
    end
Register or log in to add new notes.