Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorBenjamin Neff <benjamin@coding4coffee.ch>2022-07-23 03:36:11 +0300
committerBenjamin Neff <benjamin@coding4coffee.ch>2022-07-24 01:29:56 +0300
commit9b6a2268e96f5a736130f6eabf3aa2c6428f3142 (patch)
treecde0d842f5e3a4586018cceeb721faf819b462f3 /app
parent1be79fb40ed2802352b18ff4e81a2110588b8cc8 (diff)
Bump diaspora_federation and enable forgery protection by default
Diffstat (limited to 'app')
-rw-r--r--app/controllers/application_controller.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index c1a16ff94..ec46be826 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -7,7 +7,6 @@
class ApplicationController < ActionController::Base
before_action :force_tablet_html
has_mobile_fu
- protect_from_forgery except: :receive, with: :exception, prepend: true
rescue_from ActionController::InvalidAuthenticityToken do
if user_signed_in?