This website works better with JavaScript.
Home
Explore
Help
Sign In
nekobus
/
mastodon_neko
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
闭社主体 forked from
https://github.com/tootsuite/mastodon
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.
6064
Commits
2
Branches
112 MiB
Tree:
b95d944625
closed-social-v3
master
v0.1.2
v0.1.1
v0.1.0
Branches
Tags
${ item.name }
Create branch
${ searchTerm }
from 'b95d944625'
${ noResults }
mastodon_neko
/
config
/
initializers
/
suppress_csrf_warnings.rb
3 lines
90 B
Raw
Normal View
History
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.
6 years ago
# frozen_string_literal: true
ActionController
::
Base
.
log_warning_on_csrf_failure
=
false