commit/galaxy-central: dannon: Fixes logout with remote_user=True (almost, logout.mako still uses the wrong template -- bug introduced in 56de0ee7932f)
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/04c85ce163d3/ Changeset: 04c85ce163d3 Branch: stable User: dannon Date: 2013-04-04 16:19:17 Summary: Fixes logout with remote_user=True (almost, logout.mako still uses the wrong template -- bug introduced in 56de0ee7932f) Affected #: 1 file diff -r df5bad7a86dfd7af48a57a593028a1520c18a69b -r 04c85ce163d3fb330c80fe61db4755cc446dd244 templates/webapps/galaxy/base_panels.mako --- a/templates/webapps/galaxy/base_panels.mako +++ b/templates/webapps/galaxy/base_panels.mako @@ -157,10 +157,7 @@ else: menu_options.append( [ _('Preferences'), h.url_for( controller='/user', action='index', cntrller='user' ), "galaxy_main" ] ) menu_options.append( [ 'Custom Builds', h.url_for( controller='/user', action='dbkeys' ), "galaxy_main" ] ) - if app.config.require_login: - logout_url = h.url_for( controller='/root', action='index', m_c='user', m_a='logout' ) - else: - logout_url = h.url_for( controller='/user', action='logout' ) + logout_url = h.url_for( controller='/user', action='logout' ) menu_options.append( [ 'Logout', logout_url, "_top" ] ) menu_options.append( None ) menu_options.append( [ _('Saved Histories'), h.url_for( controller='/history', action='list' ), "galaxy_main" ] ) Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org