X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cbbfdf394880d29c9a6cc2259fcfd474088fa9bb..6ed8624851877a01b9861ffc6d94aa99425715c6:/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..63239a386 100644 --- a/app/views/oauth/authorize_success.html.erb +++ b/app/views/oauth/authorize_success.html.erb @@ -1 +1,9 @@ -
<%= t(".allowed_html", :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 %>