mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-22 05:52:11 +08:00
Detects the `redirect` queryParam on the /login route. If the user is already logged in, navigates to that page. Otherwise, sets the "destination_url" cookie so that the user will be redirected after logging in. If the param doesn't start with a single slash, ignore it and follow previous behavior (navigate to "/" or log in then navigate there) Respects subfolder configs. |
||
|---|---|---|
| .. | ||
| components | ||
| modals | ||
| pages | ||
| cdp.rb | ||