summaryrefslogtreecommitdiff
path: root/app/views/doorkeeper/applications
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2017-11-07 08:33:58 +0000
committerLin Jen-Shin <godfat@godfat.org>2017-11-10 16:26:53 +0800
commitab1f3b47a84b3d2944891216403b89042a8ab3a3 (patch)
tree11f0240c66d670916d0e793e6c653fe43b941a34 /app/views/doorkeeper/applications
parent304ceb144cca36dbcefcfb508b0dac220f76c9e1 (diff)
downloadgitlab-ce-ab1f3b47a84b3d2944891216403b89042a8ab3a3.tar.gz
Merge branch '32059-fix-oauth-phishing' into 'security-10-1'
Prevent OAuth phishing attack by presenting detailed wording about app to user during authorization See merge request gitlab/gitlabhq!2205
Diffstat (limited to 'app/views/doorkeeper/applications')
-rw-r--r--app/views/doorkeeper/applications/_form.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/doorkeeper/applications/_form.html.haml b/app/views/doorkeeper/applications/_form.html.haml
index b3313c7c985..cf0e0de1ca4 100644
--- a/app/views/doorkeeper/applications/_form.html.haml
+++ b/app/views/doorkeeper/applications/_form.html.haml
@@ -1,4 +1,4 @@
-= form_for application, url: doorkeeper_submit_path(application), html: {role: 'form'} do |f|
+= form_for application, url: doorkeeper_submit_path(application), html: { role: 'form', class: 'doorkeeper-app-form' } do |f|
= form_errors(application)
.form-group