Merge branch 'master' into glitch-soc/merge-upstream
Conflicts: app/controllers/application_controller.rb Changed instance theme selection by instance flavour selection.
This commit is contained in:
@ -30,6 +30,10 @@ class Form::AdminSettings
|
||||
:show_staff_badge=,
|
||||
:bootstrap_timeline_accounts,
|
||||
:bootstrap_timeline_accounts=,
|
||||
:flavour,
|
||||
:flavour=,
|
||||
:skin,
|
||||
:skin=,
|
||||
:min_invite_role,
|
||||
:min_invite_role=,
|
||||
:activity_api_enabled,
|
||||
@ -40,6 +44,8 @@ class Form::AdminSettings
|
||||
:show_known_fediverse_at_about_page=,
|
||||
:preview_sensitive_media,
|
||||
:preview_sensitive_media=,
|
||||
:custom_css,
|
||||
:custom_css=,
|
||||
to: Setting
|
||||
)
|
||||
end
|
||||
|
@ -216,10 +216,6 @@ class User < ApplicationRecord
|
||||
save!
|
||||
end
|
||||
|
||||
def active_for_authentication?
|
||||
super && !disabled?
|
||||
end
|
||||
|
||||
def setting_default_privacy
|
||||
settings.default_privacy || (account.locked? ? 'private' : 'public')
|
||||
end
|
||||
|
Reference in New Issue
Block a user