]> cat aescling's git repositories - mastodon.git/commit
Change confirmations controller to redirect to / for approved users (#16151)
authorClaire <claire.github-309c@sitedethib.com>
Mon, 3 May 2021 13:45:19 +0000 (15:45 +0200)
committerGitHub <noreply@github.com>
Mon, 3 May 2021 13:45:19 +0000 (15:45 +0200)
commit8c44b723bb7505eb5923019b454ce9abd7ea59c0
treeb8f8bee12c1400388d05a4ed768be797f3fa8fcb
parent09bb92875dca797d0b5a039519a090745fedddbf
Change confirmations controller to redirect to / for approved users (#16151)

Clicking the confirmation link multiple times currently leads to entering
account settings, which can be confusing. This commit changes that so that
it redirects to the root path, so it behaves the same way as clicking only
once in most cases.
app/controllers/auth/confirmations_controller.rb
spec/controllers/auth/confirmations_controller_spec.rb