openstreetmap-website/app/views/oauth/authorize_success.html.erb
Andy Allan 5aa255e13f Use _html suffix to avoid using raw when displaying translated strings
This is safer than raw, since any user input is still escaped.
2020-01-02 17:43:34 +01:00

9 lines
302 B
Text

<% content_for :heading do %>
<h1><%= t ".title" %></h1>
<% end %>
<p><%= t(".allowed_html", :app_name => link_to(@token.client_application.name, @token.client_application.url)) %></p>
<% if @token.oob? and not @token.oauth10? %>
<p><%= t ".verification", :code => @token.verifier %></p>
<% end %>