Remove omniauth
This commit is contained in:
parent
6a1db1a91d
commit
2e9d2fc1dd
|
@ -17,13 +17,11 @@ Rails.application.routes.draw do
|
||||||
resources :statistics, only: [:index]
|
resources :statistics, only: [:index]
|
||||||
|
|
||||||
devise_scope :user do
|
devise_scope :user do
|
||||||
get '/users/auth/:provider' => 'users/omniauth_callbacks#passthru'
|
|
||||||
get 'users/sign_up' => 'users/registrations#new', as: :new_user_registration
|
get 'users/sign_up' => 'users/registrations#new', as: :new_user_registration
|
||||||
post 'users' => 'users/registrations#create', as: :user_registration
|
post 'users' => 'users/registrations#create', as: :user_registration
|
||||||
end
|
end
|
||||||
|
|
||||||
devise_for :users, controllers: {
|
devise_for :users, controllers: {
|
||||||
omniauth_callbacks: 'users/omniauth_callbacks',
|
|
||||||
confirmations: 'users/confirmations'
|
confirmations: 'users/confirmations'
|
||||||
}, skip: [:registrations]
|
}, skip: [:registrations]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue