]> cat aescling's git repositories - mastodon.git/commit
Add force_login option to OAuth authorize page (#8655)
authorEugen Rochko <eugen@zeonfederated.com>
Sun, 9 Sep 2018 02:10:44 +0000 (04:10 +0200)
committerGitHub <noreply@github.com>
Sun, 9 Sep 2018 02:10:44 +0000 (04:10 +0200)
commit2288d50a7bb4afcec4cfbcaa4b5cffaabd1df437
tree7280431cffebdd35edcf99b53e92321b8a693dad
parent2492c12281e4fc692fc4f0fe9dc0abb0455b50d8
Add force_login option to OAuth authorize page (#8655)

* Add force_login option to OAuth authorize page

For when a user needs to sign into an app from multiple accounts
on the same server

* When logging out from modal header, redirect back after re-login
app/controllers/api/base_controller.rb
app/controllers/application_controller.rb
app/controllers/auth/sessions_controller.rb
app/controllers/oauth/authorizations_controller.rb
app/views/layouts/modal.html.haml
spec/controllers/auth/sessions_controller_spec.rb
spec/controllers/oauth/authorizations_controller_spec.rb