Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
grid5000
g5k-api
Commits
a67b7076
Commit
a67b7076
authored
May 28, 2020
by
Samir Noir
🧀
Browse files
Disable forgery protection in development environment
parent
de72ca9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
config/environments/development.rb
View file @
a67b7076
...
...
@@ -24,6 +24,9 @@ Api::Application.configure do
config
.
eager_load
=
false
# Show full error reports.
config
.
consider_all_requests_local
=
true
#
# Disable request forgery protection in development environment.
config
.
action_controller
.
allow_forgery_protection
=
false
# Enable/disable caching. By default caching is disabled.
# Run rails dev:cache to toggle caching.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment