Fix missing validation on `default_privacy` setting (#25513)

lolsob-rspec
Claire 2023-06-20 18:32:14 +02:00 committed by GitHub
parent 88cdb02d89
commit ba5c12974a
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ class UserSettings
setting :show_application, default: true setting :show_application, default: true
setting :default_language, default: nil setting :default_language, default: nil
setting :default_sensitive, default: false setting :default_sensitive, default: false
setting :default_privacy, default: nil setting :default_privacy, default: nil, in: %w(public unlisted private)
namespace :web do namespace :web do
setting :crop_images, default: true setting :crop_images, default: true