discourse/app
Osama Sayegh 4f9359d056
FIX: Name field should appear in the signup form for login-required sites (#30634)
Meta topic: https://meta.discourse.org/t/full-name-at-sign-up-went-missing/345662/17?u=osama

The preloaded `site` object for anons on login-required sites is a stripped down version of the full object with just a specific set of attributes and doesn't use the site serializer. This results in the `full_name_required_for_signup` and `full_name_visible_in_signup` attributes not making it to the client app when a login-required site is accessed by an anon, causing the name field in the signup form to not be rendered, even when it's required.

This commit includes those attributes in the stripped down version of the `site` object that's used for anons on login-required sites.
2025-01-08 03:49:34 +03:00
..
assets Build(deps-dev): Bump the embroider group with 2 updates (#30629) 2025-01-08 01:14:49 +01:00
controllers FEATURE: add new setting to select view for category page on mobile (#30519) 2025-01-06 09:25:25 +05:30
helpers PERF: Refactor and optimize splash screen implementation (#30373) 2024-12-30 11:31:08 +00:00
jobs DEV: Allow export user archive (job) to be requested and sent to an admin (#30543) 2025-01-03 14:27:10 +08:00
mailers
models FIX: Name field should appear in the signup form for login-required sites (#30634) 2025-01-08 03:49:34 +03:00
serializers FIX: Name field should appear in the signup form for login-required sites (#30634) 2025-01-08 03:49:34 +03:00
services DEV: Update nokogiri to 1.18.1 (#30554) 2025-01-07 12:05:39 +01:00
views PERF: Refactor and optimize splash screen implementation (#30373) 2024-12-30 11:31:08 +00:00