Make OAuth work again
This commit is contained in:
parent
87d38efbb0
commit
7b89dc6349
13 changed files with 109 additions and 109 deletions
|
@ -1,5 +1,5 @@
|
|||
<h1>Authorize access to your account</h1>
|
||||
<p><%= t('oauth.oauthorize.request_access', :app_name => link_to(@token.client_application.name, @token.client_application.url), :user => link_to(@user.display_name, :controller => :user, :action => :view, :display_name => @user.display_name)) %></p>
|
||||
<p><%= raw t('oauth.oauthorize.request_access', :app_name => link_to(@token.client_application.name, @token.client_application.url), :user => link_to(@user.display_name, :controller => :user, :action => :view, :display_name => @user.display_name)) %></p>
|
||||
<%= form_tag authorize_url do %>
|
||||
<%= hidden_field_tag "oauth_token", @token.token %>
|
||||
<%- if params[:oauth_callback] -%>
|
|
@ -1,5 +1,5 @@
|
|||
<h1>You have allowed this request</h1>
|
||||
|
||||
<% if @token.oob? %>
|
||||
<% if @token.oob? and not @token.oauth10? %>
|
||||
<p>The verification code is <%= @token.verifier %></p>
|
||||
<% end %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue