You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Julian Lam 67e3fb6498 fix: register returnTo logic to match login route
Login route saves the previous page by checking for the X-Return-To header. This header is automatically set by ajaxify.
Login takes this value and saves it to `req.session`.

Up until now, `/register` saved the previous URL in a hidden input, and redirected based on that value, but it occasionally conflicted with req.session.returnTo. It was also confusing because it did not match how login handled the values.

This commit updates the route handling so it works identically to `/login`.
4 years ago
..
images Update bundled logos with new branding (#8702) 4 years ago
language Latest translations and fallbacks 4 years ago
less fix: privileges page - tweak icon position and width, group name wrapping 4 years ago
openapi fix: openapi test specs 4 years ago
src fix: register returnTo logic to match login route 4 years ago
uploads
vendor breaking: #8808, remove utils.slugify 4 years ago
.eslintrc feat: clent-side modal for managing topic thumbs 4 years ago
.jshintrc feat: remove global RELATIVE_PATH 4 years ago
503.html fix: #8352, remove webfonts (#8354) 5 years ago
favicon.ico Update bundled logos with new branding (#8702) 4 years ago
logo.png Update bundled logos with new branding (#8702) 4 years ago