Skip to content

Commit

Permalink
Maybe make impersonation work with SE auth; ref #552
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtOfCode- committed Mar 18, 2019
1 parent da86950 commit d238324
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/views/developer/change_back.html.erb
Expand Up @@ -2,6 +2,13 @@
<p>You (<%= @impersonator.username %>) are currently impersonating <%= current_user.username %>. To stop impersonating them, verify your password
below:</p>

<%= link_to login_auth_url, class: "btn btn-default se-oauth-button" do %>
Login with
<%= image_tag "se-icon.svg", class: "se-icon" %>Stack Exchange
<% end %>

<p class="text-muted se-auth-or-label">or</p>

<%= form_tag stop_impersonating_path, class: 'form-horizontal' do %>
<div class="field form-group row">
<%= label_tag :password, 'Password', class: 'col-sm-1 col-form-label' %>
Expand Down

0 comments on commit d238324

Please sign in to comment.