diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-09-28 01:33:27 +0200 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2020-02-20 23:50:46 -0600 |
commit | 1ddb4abc704476e56ed97826365a32f21df3c78e (patch) | |
tree | bb87c749c721caec8a64b46325673492d1c99d19 /app/controllers/remote_interaction_controller.rb | |
parent | b6c6840ba337ed77d4488dd013098df30100b74f (diff) |
port tootsuite#11978 to monsterfork: Fix redirecting non-functional accounts on public pages
Fix #11969
Diffstat (limited to 'app/controllers/remote_interaction_controller.rb')
-rw-r--r-- | app/controllers/remote_interaction_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/remote_interaction_controller.rb b/app/controllers/remote_interaction_controller.rb index 7ecf95400..9c247b0ce 100644 --- a/app/controllers/remote_interaction_controller.rb +++ b/app/controllers/remote_interaction_controller.rb @@ -9,6 +9,8 @@ class RemoteInteractionController < ApplicationController before_action :set_pack before_action :set_status + skip_before_action :require_functional! + def new raise Mastodon::NotPermittedError unless user_signed_in? |