summaryrefslogtreecommitdiff
path: root/app/views/doorkeeper
diff options
context:
space:
mode:
authorconnorshea <connor.james.shea@gmail.com>2016-04-12 20:38:14 -0600
committerStan Hu <stanhu@gmail.com>2016-04-14 07:24:57 -0700
commit0c082d5e3a34d787f8b2fea0c22fa4256cf82be3 (patch)
tree10faaf11a24b6e07e5b7efe3000132beba562a30 /app/views/doorkeeper
parent091c77e3c54b15fa2378a89d15400795dc9f91ee (diff)
downloadgitlab-ce-0c082d5e3a34d787f8b2fea0c22fa4256cf82be3.tar.gz
Fix the improper delete form being rendered for an oauth_authorized_application
This fixes the authorized applications not being revoked properly at `/profile/applications`. Fixes #14370.
Diffstat (limited to 'app/views/doorkeeper')
-rw-r--r--app/views/doorkeeper/applications/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/doorkeeper/applications/index.html.haml b/app/views/doorkeeper/applications/index.html.haml
index 55f4a6f287d..0aff79749ef 100644
--- a/app/views/doorkeeper/applications/index.html.haml
+++ b/app/views/doorkeeper/applications/index.html.haml
@@ -68,7 +68,7 @@
%td= app.name
%td= token.created_at
%td= token.scopes
- %td= render 'delete_form', application: app
+ %td= render 'doorkeeper/authorized_applications/delete_form', application: app
- @authorized_anonymous_tokens.each do |token|
%tr
%td