From a8bb1af029ebf64ebe6fc8a4e41c43653279f146 Mon Sep 17 00:00:00 2001 From: Nat Date: Mon, 28 Oct 2024 20:31:10 +0800 Subject: [PATCH] DEV: Allow a longer signature --- plugin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.rb b/plugin.rb index 71c2eb0..2fbab9b 100644 --- a/plugin.rb +++ b/plugin.rb @@ -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