summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-08-07 13:53:25 -0700
committerStan Hu <stanhu@gmail.com>2018-08-07 22:29:37 -0700
commit03483098752216a541ff1e18cd11792adfe1fa71 (patch)
tree654dce7ad8cd0291bfa899cb14b999a6604944b1
parentf3b36ac1171f6d170d008c52a0a324a438f3e886 (diff)
downloadgitlab-ce-03483098752216a541ff1e18cd11792adfe1fa71.tar.gz
Fix broken text in OAuth authorization screen
-rw-r--r--app/views/doorkeeper/authorizations/new.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/doorkeeper/authorizations/new.html.haml b/app/views/doorkeeper/authorizations/new.html.haml
index ca62a59d909..74791b81ccd 100644
--- a/app/views/doorkeeper/authorizations/new.html.haml
+++ b/app/views/doorkeeper/authorizations/new.html.haml
@@ -4,7 +4,7 @@
.modal-header
%h3.page-title
- link_to_client = link_to(@pre_auth.client.name, @pre_auth.redirect_uri, target: '_blank', rel: 'noopener noreferrer')
- = _("Authorize %{link_to_client} to use your account?")
+ = _("Authorize %{link_to_client} to use your account?").html_safe % { link_to_client: link_to_client }
.modal-body
- if current_user.admin?