X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d227589a6336999c38bffc5e11655100b9a4630a..c82fdf8e0fd4e5a8f2d831592d5e1fe13e1fe558:/app/views/oauth/authorize_success.html.erb diff --git a/app/views/oauth/authorize_success.html.erb b/app/views/oauth/authorize_success.html.erb index effe24a79..9c817372f 100644 --- a/app/views/oauth/authorize_success.html.erb +++ b/app/views/oauth/authorize_success.html.erb @@ -1 +1,9 @@ -
<%= raw t(".allowed", :app_name => link_to(@token.client_application.name, @token.client_application.url)) %>
+ +<% if @token.oob? and not @token.oauth10? %> +<%= t ".verification", :code => @token.verifier %>
+<% end %>