Skip to content

Commit

Permalink
Merge pull request from GHSA-82hq-222g-j4vj
Browse files Browse the repository at this point in the history
10 digits should be plenty.
  • Loading branch information
danielwaterworth authored Jan 8, 2024
1 parent 87e74f7 commit ad82893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ module ::DiscourseAssign

frequency_field = PendingAssignsReminder::REMINDERS_FREQUENCY
register_editable_user_custom_field frequency_field
User.register_custom_field_type frequency_field, :integer
register_user_custom_field_type(frequency_field, :integer, max_length: 10)
DiscoursePluginRegistry.serialized_current_user_fields << frequency_field
add_to_serializer(:user, :reminders_frequency) { RemindAssignsFrequencySiteSettings.values }

Expand Down

0 comments on commit ad82893

Please sign in to comment.