mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 11:48:28 +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. |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |