diff options
author | Benjamin Neff <benjamin@coding4coffee.ch> | 2022-07-23 03:36:11 +0300 |
---|---|---|
committer | Benjamin Neff <benjamin@coding4coffee.ch> | 2022-07-24 01:29:56 +0300 |
commit | 9b6a2268e96f5a736130f6eabf3aa2c6428f3142 (patch) | |
tree | cde0d842f5e3a4586018cceeb721faf819b462f3 /app | |
parent | 1be79fb40ed2802352b18ff4e81a2110588b8cc8 (diff) |
Bump diaspora_federation and enable forgery protection by default
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/application_controller.rb | 1 |
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? |