1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-01 00:08:39 +09:00
YuruToot/app/controllers/api/web
Patrick Figel 537d2939b1 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.
2018-01-15 06:51:23 +01:00
..
embeds_controller.rb Embed modal (#4748) 2017-08-31 03:38:35 +02:00
push_subscriptions_controller.rb Suppress CSRF token warnings (#6240) 2018-01-15 06:51:23 +01:00
settings_controller.rb Clean up for api/base controller (#3629) 2017-06-07 20:09:25 +02:00