mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-19 03:37:04 +00:00
Fix missing validation on default_privacy
setting (#25513)
This commit is contained in:
parent
e53eb38a8d
commit
ec91ea4457
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue