discourse/lib/site_settings
Rafael dos Santos Silva 75e40baa64
FIX: min/max username length limits weren't validated (#17382)
* FIX: min/max username length limits weren't validated

The custom validators introduced in e0d7cda made so we ignored the mix
and max values set on site_settings.yml. That change allowed admins to
set values outside of the range defined on the yaml file.

Related to https://meta.discourse.org/t/group-names-with-more-than-60-characters-broken/232115?u=falco

Co-authored-by: Alan Guo Xiang Tan <gxtan1990@gmail.com>
2022-07-08 12:00:47 -03:00
..
db_provider.rb FIX: site settings loading default values when no db 2019-06-14 14:21:07 +10:00
defaults_provider.rb FEATURE: Add English (UK) as locale (#11768) 2021-01-20 21:32:22 +01:00
deprecated_settings.rb UX: Change wording for 'regular' categories to 'normal' (#17134) 2022-06-20 06:49:33 +03:00
local_process_provider.rb DEV: Remove site_setting_saved event (#15164) 2021-12-02 09:33:03 -06:00
type_supervisor.rb FEATURE: Add new site setting list type with name and values (#16045) 2022-03-08 13:18:43 +02:00
validations.rb UX: Change wording for 'regular' categories to 'normal' (#17134) 2022-06-20 06:49:33 +03:00
yaml_loader.rb FIX: min/max username length limits weren't validated (#17382) 2022-07-08 12:00:47 -03:00