0
0
Fork 0
mirror of https://github.com/lunaisnotaboy/mastodon.git synced 2024-12-24 14:17:08 +00:00

Fix missing validation on default_privacy setting ()

This commit is contained in:
Claire 2023-06-20 18:32:14 +02:00 committed by GitHub
parent e53eb38a8d
commit ec91ea4457
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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