Remove omniauth

This commit is contained in:
Wedge 2021-03-03 06:39:15 +03:00
parent 6a1db1a91d
commit 2e9d2fc1dd
1 changed files with 0 additions and 2 deletions

View File

@ -17,13 +17,11 @@ Rails.application.routes.draw do
resources :statistics, only: [:index]
devise_scope :user do
get '/users/auth/:provider' => 'users/omniauth_callbacks#passthru'
get 'users/sign_up' => 'users/registrations#new', as: :new_user_registration
post 'users' => 'users/registrations#create', as: :user_registration
end
devise_for :users, controllers: {
omniauth_callbacks: 'users/omniauth_callbacks',
confirmations: 'users/confirmations'
}, skip: [:registrations]