add lockable to User, Gestionnaire, administration, Administrateur
This commit is contained in:
parent
e459eca16d
commit
8d03a6747c
6 changed files with 33 additions and 10 deletions
|
@ -10,7 +10,7 @@ class User < ApplicationRecord
|
|||
# Include default devise modules. Others available are:
|
||||
# :confirmable, :lockable, :timeoutable and :omniauthable
|
||||
devise :database_authenticatable, :registerable, :async,
|
||||
:recoverable, :rememberable, :trackable, :validatable, :confirmable
|
||||
:recoverable, :rememberable, :trackable, :validatable, :confirmable, :lockable
|
||||
|
||||
has_many :dossiers, dependent: :destroy
|
||||
has_many :invites, dependent: :destroy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue