1
0
Fork 0
forked from OpenNeo/impress
impress/app/views
Matchu 45090b8d1c Login/logout returns you to the same page
In the login case, we save the `return_to` parameter in the session, because login can be a multi-step process.

In the logout case, we just read it directly from the form params.

Note that you *could* end up in a weird scenario where an old return_to value sticks around for a bit? But we have the sense to delete it when we use it on a successful sign-in, and most links to the login page come with a `return_to` param which should reset it. So, you'd have to 1) have started but not finished a sign-in, 2) during the same session, and 3) get to the login page by an unusual means.

Probably fine!
2023-10-23 19:05:08 -07:00
..
campaigns Remove references to the Stripe gem 2023-07-21 18:54:15 -07:00
closet_hangers Simplify item_link rendering 2023-10-23 19:05:04 -07:00
closet_lists Select All + visual feedback 2015-09-26 14:22:11 -07:00
contributions i18n for contributions#index 2013-01-24 18:23:18 -06:00
devise Can edit username in user settings page 2023-10-23 19:05:08 -07:00
donation_mailer campaign 2015 copy updates 2015-08-30 16:49:46 -07:00
donations yum, new campaigns 2015-08-05 19:26:12 -04:00
items Stop caching trade users on item page 2023-10-23 19:05:04 -07:00
layouts Login/logout returns you to the same page 2023-10-23 19:05:08 -07:00
neopets_page_import_tasks refactor importing 2015-07-27 13:25:24 -04:00
neopets_users choose list when importing from pets 2013-08-17 12:07:04 -04:00
outfits Use flash[:notice] instead of flash[:success] 2023-10-23 19:05:07 -07:00
pets fix a bunch of precompiled-asset-missing errors 2013-03-05 22:26:14 -06:00
sitemap dynamic robots.txt to refer to sitemap.xml 2011-05-20 20:59:35 -04:00
static Update terms link to point to DTI 2020 2022-09-25 06:11:34 -07:00
swf_assets swf links 2015-05-03 16:57:42 -05:00
users i18n for contributions#index 2013-01-24 18:23:18 -06:00