iachat/spec/controllers/api/v1
Shivam Mishra 9f376c43b5
fix(signup): normalize account signup config checks (#13745)
This makes account signup enforcement consistent when signup is disabled
at the installation level. Email signup and Google signup now stay
blocked regardless of whether the config value is stored as a string or
a boolean.

This effectively covers the config-loader path, where `YAML.safe_load`
reads `value: false` from `installation_config.yml` as a native boolean
and persists it that way.

- Normalized the account signup check so disabled signup is handled
consistently across config value types.
- Reused the same check across API signup and Google signup entry
points.
- Added regression coverage for the disabled-signup cases in the
existing controller specs.

---------

Co-authored-by: Vishnu Narayanan <iamwishnu@gmail.com>
2026-03-10 16:35:09 +05:30
..
accounts feat: allow agent bots to toggle typing status (#13705) 2026-03-05 08:13:52 -08:00
widget fix: Show campaigns only if the feature is enabled (#11420) 2025-05-05 19:41:28 -07:00
accounts_controller_spec.rb fix(signup): normalize account signup config checks (#13745) 2026-03-10 16:35:09 +05:30
notification_subscriptions_controller_spec.rb chore: Enable the new Rubocop rules (#7122) 2023-05-19 14:37:10 +05:30
profiles_controller_spec.rb fix: Prevent display_name reset when updating password (#10374) 2025-06-11 19:05:30 -04:00
upload_controller_spec.rb fix: Validate blob before attaching it to a record (#13115) 2025-12-19 19:02:21 -08:00