mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
remove per_form_csrf_tokens
initializer from Rails API
Because the form is not in the Rails API, `per_form_csrf_tokens` initializer I think unnecessary.
This commit is contained in:
parent
5d9e923d27
commit
82deb76882
2 changed files with 2 additions and 0 deletions
|
@ -327,6 +327,7 @@ module Rails
|
|||
remove_file 'config/initializers/session_store.rb'
|
||||
remove_file 'config/initializers/cookies_serializer.rb'
|
||||
remove_file 'config/initializers/request_forgery_protection.rb'
|
||||
remove_file 'config/initializers/per_form_csrf_tokens.rb'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -89,6 +89,7 @@ class ApiAppGeneratorTest < Rails::Generators::TestCase
|
|||
config/initializers/cookies_serializer.rb
|
||||
config/initializers/session_store.rb
|
||||
config/initializers/request_forgery_protection.rb
|
||||
config/initializers/per_form_csrf_tokens.rb
|
||||
lib/assets
|
||||
vendor/assets
|
||||
test/helpers
|
||||
|
|
Loading…
Reference in a new issue