mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 11:53:44 +08:00
d2bceff133
Using popups is becoming increasingly rare. Full page redirects are already used on mobile, and for some providers. This commit removes all logic related to popup authentication, leaving only the full page redirect method. For more info, see https://meta.discourse.org/t/do-we-need-popups-for-login/127988
11 lines
373 B
Plaintext
11 lines
373 B
Plaintext
<div id='simple-container'>
|
|
<h2><%= t('login.omniauth_confirm_title', provider:(t "js.login.#{params[:provider]}.name", default: params[:provider])) %></h2>
|
|
<br/>
|
|
|
|
<%= form_tag do %>
|
|
<%= button_tag(type: "submit", class: "btn btn-primary") do %>
|
|
<%= SvgSprite.raw_svg('fa-plug') %><%= t 'login.omniauth_confirm_button' %>
|
|
<% end %>
|
|
<% end %>
|
|
</div>
|