Specify the username when redirecting to the OAuth client list
This commit is contained in:
parent
21855aa355
commit
3a1e7a67ac
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ class OauthController < ApplicationController
|
|||
@token.invalidate!
|
||||
flash[:notice] = t('oauth.revoke.flash', :application => @token.client_application.name)
|
||||
end
|
||||
redirect_to :controller => 'oauth_clients', :action => 'index'
|
||||
redirect_to oauth_clients_url(:display_name => @token.user.display_name)
|
||||
end
|
||||
|
||||
protected
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue