Remove instructeur devise methods
This commit is contained in:
parent
766d1ce51c
commit
a84e07a376
2 changed files with 0 additions and 5 deletions
|
@ -2,9 +2,6 @@ class Instructeur < ApplicationRecord
|
|||
include CredentialsSyncableConcern
|
||||
include EmailSanitizableConcern
|
||||
|
||||
devise :database_authenticatable, :registerable, :async,
|
||||
:recoverable, :rememberable, :trackable, :validatable, :lockable
|
||||
|
||||
has_and_belongs_to_many :administrateurs
|
||||
|
||||
before_validation -> { sanitize_email(:email) }
|
||||
|
|
|
@ -79,8 +79,6 @@ Rails.application.routes.draw do
|
|||
|
||||
devise_for :administrateurs, skip: :all
|
||||
|
||||
devise_for :instructeurs, skip: :all
|
||||
|
||||
devise_for :users, controllers: {
|
||||
sessions: 'users/sessions',
|
||||
registrations: 'users/registrations',
|
||||
|
|
Loading…
Reference in a new issue