From 6a1db1a91d4c3670ae5ff4b43d5bb924d7c39e4f Mon Sep 17 00:00:00 2001 From: Wedge Date: Wed, 3 Mar 2021 06:31:33 +0300 Subject: [PATCH] Remove omniauth --- app/views/devise/sessions/new.html.slim | 2 -- app/views/devise/shared/_providers.slim | 9 --------- 2 files changed, 11 deletions(-) delete mode 100644 app/views/devise/shared/_providers.slim diff --git a/app/views/devise/sessions/new.html.slim b/app/views/devise/sessions/new.html.slim index 818df312c..41d884cda 100644 --- a/app/views/devise/sessions/new.html.slim +++ b/app/views/devise/sessions/new.html.slim @@ -17,5 +17,3 @@ = f.button :submit, t('layout.devise.shared_links.sign_in') .row = link_to t('layout.devise.shared_links.forgot_password'), new_password_path(resource_name) - rd-widget-footer - == render 'devise/shared/providers' diff --git a/app/views/devise/shared/_providers.slim b/app/views/devise/shared/_providers.slim deleted file mode 100644 index 4126a9c32..000000000 --- a/app/views/devise/shared/_providers.slim +++ /dev/null @@ -1,9 +0,0 @@ -- if devise_mapping.omniauthable? - .row - .col-md-12 - .pull-left - = t('.sign_up_with') - .pull-right - - resource_class.omniauth_providers.each do |provider| - a.text-muted> href=omniauth_authorize_path(resource_name, provider) - i.fa.fa-2x class="fa-#{provider}-square"