mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 06:24:48 +08:00
When required user fields are present, the user is not allowed to visit other pages on the site until they fill out the user fields. This means they're redirected to the profile page, but then once they save the fields they stay on the profile page which can be confusing. This stores the destination url in the "destination_url" cookie, then retrieves that and redirects after the required user fields have been filled out and validated. Mirrors the logic in our login/auth flows. Requested in meta /t/403313/ and also mentioned previously on dev at /t/133792/ |
||
|---|---|---|
| .. | ||
| hide_from_public_spec.rb | ||
| staff_info_spec.rb | ||
| user_invites_spec.rb | ||
| user_notifications_spec.rb | ||
| user_page_search_spec.rb | ||
| user_preferences_account_spec.rb | ||
| user_preferences_interface_spec.rb | ||
| user_preferences_navigation_spec.rb | ||
| user_preferences_notifications_spec.rb | ||
| user_preferences_profile_spec.rb | ||
| user_preferences_security_spec.rb | ||
| user_preferences_tracking_spec.rb | ||
| user_profile_info_panel_spec.rb | ||
| users_directory_spec.rb | ||