Skip to content
Snippets Groups Projects
Commit 3620cdab authored by Smriti Garg's avatar Smriti Garg :speech_balloon: Committed by GitLab Release Tools Bot
Browse files

Fix clickjacking on OAuth application page

Merge branch 'security-security_clickjacking_authorize-17-1' into '17-1-stable-ee'

See merge request gitlab-org/security/gitlab!4186

Changelog: security
parent 6ec3d015
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@
= hidden_field_tag :code_challenge_method, @pre_auth.code_challenge_method
= render Pajamas::ButtonComponent.new(type: :submit,
variant: :confirm,
button_options: { id: 'commit-changes', testid: 'authorization-button'}) do
button_options: {testid: 'authorization-button'}) do
= html_escape(_('Authorize %{client_name}')) % { client_name: @pre_auth.client.name.html_safe }
= form_tag oauth_authorization_path, method: :delete, class: 'inline' do
= hidden_field_tag :client_id, @pre_auth.client.uid
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment