commit/galaxy-central: dan: Minor fix for clicking an OpenID provider to refresh credentials.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/84d49e39069d/ changeset: 84d49e39069d user: dan date: 2012-04-12 18:16:24 summary: Minor fix for clicking an OpenID provider to refresh credentials. affected #: 1 file diff -r d88a9fa7041c02f8c448eecb2a86c93b5c47d6a0 -r 84d49e39069d965a45097ade1b71a57cdc0a0386 lib/galaxy/web/controllers/user.py --- a/lib/galaxy/web/controllers/user.py +++ b/lib/galaxy/web/controllers/user.py @@ -29,7 +29,7 @@ default_filter = { "openid" : "All" } default_sort_key = "-create_time" columns = [ - grids.TextColumn( "OpenID URL", key="openid", link=( lambda x: dict( operation='openid_auth', login_button="Login", openid_url=x.openid if not x.provider else '', openid_provider=x.provider, auto_associate=True ) ) ), + grids.TextColumn( "OpenID URL", key="openid", link=( lambda x: dict( action='openid_auth', login_button="Login", openid_url=x.openid if not x.provider else '', openid_provider=x.provider, auto_associate=True ) ) ), grids.GridColumn( "Created", key="create_time", format=time_ago ), ] operations = [ @@ -395,8 +395,6 @@ action='openid_disassociate', use_panels=use_panels, id=kwd['id'] ) ) - elif operation == 'openid_auth': - return trans.response.send_redirect( url_for( controller='user', action='openid_auth', **kwd ) ) kwd['redirect'] = kwd.get( 'redirect', url_for( controller='user', action='openid_manage', use_panels=True ) ) kwd['openid_providers'] = trans.app.openid_providers 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)
-
Bitbucket