This website works better with JavaScript.
Explore
Help
Sign In
MetuFSS
/
metu.life
Watch
2
Star
1
Fork
You've already forked metu.life
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7108
Commits
1
Branch
0
Tags
134 MiB
Tag:
Branch:
Tree:
71b318dedc
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '71b318dedc'
${ noResults }
metu.life
/
config
/
initializers
/
suppress_csrf_warnings.rb
4 lines
90 B
Raw
Normal View
History
Unescape
Escape
Suppress CSRF token warnings (#6240) CSRF token checking was enabled for API controllers in #6223, producing "Can't verify CSRF token authenticity" log spam. This disables logging of failed CSRF checks. This also changes the protection strategy for PushSubscriptionsController to use exceptions, making it consistent with other controllers that use sessions.
7 years ago
# frozen_string_literal: true
ActionController
::
Base
.
log_warning_on_csrf_failure
=
false