DEV: Allow a longer signature
This commit is contained in:
@@ -16,7 +16,7 @@ DiscoursePluginRegistry.serialized_current_user_fields << "signature_raw"
|
||||
after_initialize do
|
||||
register_user_custom_field_type("see_signatures", :boolean)
|
||||
register_user_custom_field_type("signature_url", :string, max_length: 32_000)
|
||||
register_user_custom_field_type("signature_raw", :string, max_length: 1000)
|
||||
register_user_custom_field_type("signature_raw", :string, max_length: 10_000)
|
||||
|
||||
# add to class and serializer to allow for default value for the setting
|
||||
add_to_class(:user, :see_signatures) do
|
||||
|
||||
Reference in New Issue
Block a user