mastodon/app/controllers/auth
Akinori MUSHA 8a5d3b2e5d Go to root after login in single user mode (#3289)
In single user mode, visitors are redirected to the single user's
profile page.  So, if you are the owner without a session, you start
from that page, click the login button and authenticate yourself
expecting you'll soon get started with the home page, but in reality
you'll get redirected back to where you started from -- your own
profile page.

This fixes the behavior by redirecting you home after login if you
have started from your own profile page.
2017-05-26 14:14:03 +02:00
..
confirmations_controller.rb Fix rubocop issues, introduce usage of frozen literal to improve performance 2016-11-15 16:56:29 +01:00
passwords_controller.rb Fix rubocop issues, introduce usage of frozen literal to improve performance 2016-11-15 16:56:29 +01:00
registrations_controller.rb Fix Devise destroy method being available to delete user record (#3266) 2017-05-23 21:32:42 +02:00
sessions_controller.rb Go to root after login in single user mode (#3289) 2017-05-26 14:14:03 +02:00