Add sign-up button to logged-out web UI (#19250)
This commit is contained in:
parent
43b5d5e38d
commit
e623c302d5
8 changed files with 43 additions and 4 deletions
|
@ -26,6 +26,7 @@ class InitialStateSerializer < ActiveModel::Serializer
|
|||
mascot: instance_presenter.mascot&.file&.url,
|
||||
profile_directory: Setting.profile_directory,
|
||||
trends: Setting.trends,
|
||||
registrations_open: Setting.registrations_mode != 'none' && !Rails.configuration.x.single_user_mode,
|
||||
}
|
||||
|
||||
if object.current_account
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue