about summary refs log tree commit diff
path: root/app/controllers/remote_interaction_controller.rb
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-06-19 19:18:47 +0200
committerGitHub <noreply@github.com>2020-06-19 19:18:47 +0200
commitac8a788370012656cde08b2aea2bd927f0748422 (patch)
treefbddb386e3d9260d520767ba50da290ed0f370b2 /app/controllers/remote_interaction_controller.rb
parentb1d492f30a584a9e204ac1345e6508ed4acb44bd (diff)
Fix functional user requirements in whitelist mode (#14093)
Fixes #14092
Diffstat (limited to 'app/controllers/remote_interaction_controller.rb')
-rw-r--r--app/controllers/remote_interaction_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/remote_interaction_controller.rb b/app/controllers/remote_interaction_controller.rb
index 3b9202a5c..6c29a2b9f 100644
--- a/app/controllers/remote_interaction_controller.rb
+++ b/app/controllers/remote_interaction_controller.rb
@@ -10,7 +10,7 @@ class RemoteInteractionController < ApplicationController
   before_action :set_status
   before_action :set_body_classes
 
-  skip_before_action :require_functional!
+  skip_before_action :require_functional!, unless: :whitelist_mode?
 
   def new
     @remote_follow = RemoteFollow.new(session_params)