mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 21:44:31 +08:00
23d7800ff1
If a user has a required action, e.g. adding a 2FA method or filling in new required fields, we disable client-side routing except to allowed pages. This led to a situation where a user might navigate away from e.g. the profile page to look at the new ToS, and then being "stuck" due to not knowing how to get back to accept the new terms. This PR makes it so that if you click any restricted link, instead of doing nothing we transition the user back to the page where they can take the required action. |
||
---|---|---|
.. | ||
hide_from_public_spec.rb | ||
staff_info_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_profile_spec.rb | ||
user_preferences_security_spec.rb | ||
user_profile_info_panel_spec.rb |