openstreetmap-website/app/views/oauth/authorize_success.html.erb

9 lines
301 B
Text

<% content_for :heading do %>
<h1><%= t ".title" %></h1>
<% end %>
<p><%= raw t(".allowed", :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 %>