Confirm user emails & fix a bug
This commit is contained in:
parent
b4e1dcbd63
commit
73c81bbf0a
2 changed files with 14 additions and 13 deletions
|
|
@ -4,7 +4,8 @@ class User < ActiveRecord::Base
|
|||
# :token_authenticatable, :confirmable,
|
||||
# :lockable, :timeoutable and :omniauthable
|
||||
devise :database_authenticatable, :registerable,
|
||||
:recoverable, :rememberable, :trackable, :validatable
|
||||
:recoverable, :rememberable, :trackable, :validatable,
|
||||
:confirmable
|
||||
|
||||
has_and_belongs_to_many :roles
|
||||
has_one :person
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue