Skip to content
Snippets Groups Projects
Unverified Commit ec91ea44 authored by Claire's avatar Claire Committed by GitHub
Browse files

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

parent e53eb38a
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment