about summary refs log tree commit diff
path: root/app/presenters
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-11-05 18:28:13 +0100
committerGitHub <noreply@github.com>2022-11-05 18:28:13 +0100
commit312d616371096235f1f317041300b8220c447613 (patch)
tree5cadb0f45adb1eb9096528db331209240e753968 /app/presenters
parent0498b106c9d632d761dc556e9d471eb6aec846c5 (diff)
Change sign-in banner to reflect disabled or moved account status (#19773)
Diffstat (limited to 'app/presenters')
-rw-r--r--app/presenters/initial_state_presenter.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/presenters/initial_state_presenter.rb b/app/presenters/initial_state_presenter.rb
index ed0479211..b87cff51e 100644
--- a/app/presenters/initial_state_presenter.rb
+++ b/app/presenters/initial_state_presenter.rb
@@ -2,7 +2,8 @@
 
 class InitialStatePresenter < ActiveModelSerializers::Model
   attributes :settings, :push_subscription, :token,
-             :current_account, :admin, :owner, :text, :visibility
+             :current_account, :admin, :owner, :text, :visibility,
+             :disabled_account, :moved_to_account
 
   def role
     current_account&.user_role