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) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue