Remove instructeur devise methods

This commit is contained in:
simon lehericey 2019-08-08 17:32:34 +02:00
parent 766d1ce51c
commit a84e07a376
2 changed files with 0 additions and 5 deletions

View file

@ -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) }

View file

@ -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',