mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-09 09:34:20 +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. |
||
|---|---|---|
| .. | ||
| assets | ||
| controllers | ||
| helpers | ||
| jobs | ||
| mailers | ||
| models | ||
| serializers | ||
| services | ||
| views | ||