1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-29 18:52:22 +01:00
This commit is contained in:
Sylvain 2020-03-30 15:32:14 +02:00
parent 3dc8d66c63
commit 44f927d38e

View File

@ -5,7 +5,7 @@ require 'sidekiq/cron/web'
Rails.application.routes.draw do Rails.application.routes.draw do
if AuthProvider.active.providable_type == DatabaseProvider.name if AuthProvider.active.providable_type == DatabaseProvider.name
# with local authentification we do not use omniAuth so we must differentiate the config # with local authentication we do not use omniAuth so we must differentiate the config
devise_for :users, controllers: { devise_for :users, controllers: {
registrations: 'registrations', sessions: 'sessions', confirmations: 'confirmations', passwords: 'passwords' registrations: 'registrations', sessions: 'sessions', confirmations: 'confirmations', passwords: 'passwords'
} }