about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-09-09 04:10:44 +0200
committerGitHub <noreply@github.com>2018-09-09 04:10:44 +0200
commit2288d50a7bb4afcec4cfbcaa4b5cffaabd1df437 (patch)
tree7280431cffebdd35edcf99b53e92321b8a693dad /app/views
parent2492c12281e4fc692fc4f0fe9dc0abb0455b50d8 (diff)
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
Diffstat (limited to 'app/views')
-rw-r--r--app/views/layouts/modal.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/modal.html.haml b/app/views/layouts/modal.html.haml
index b73068459..2ef49e413 100644
--- a/app/views/layouts/modal.html.haml
+++ b/app/views/layouts/modal.html.haml
@@ -8,7 +8,7 @@
       .name
         = t 'users.signed_in_as'
         %span.username @#{current_account.local_username_and_domain}
-      = link_to destroy_user_session_path, method: :delete, class: 'logout-link icon-button' do
+      = link_to destroy_user_session_path(continue: true), method: :delete, class: 'logout-link icon-button' do
         = fa_icon 'sign-out'
 
   .container-alt= yield