Skip to content

Commit bbc504d

Browse files
committed
fix oauth revoke in audit log
1 parent ba38578 commit bbc504d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎app/controllers/authorized_applications_controller.rb‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ def index
1010
def destroy
1111
token = current_identity.access_tokens.find(params[:id])
1212
token.revoke
13+
token.create_activity :revoke, owner: current_identity, recipient: current_identity
1314

1415
if request.headers["HX-Request"]
1516
@access_tokens = current_identity.access_tokens

0 commit comments

Comments
 (0)