Confirm user emails & fix a bug

This commit is contained in:
Matt Barringer 2013-01-15 14:36:27 +01:00
parent b4e1dcbd63
commit 73c81bbf0a
2 changed files with 14 additions and 13 deletions

View file

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