Update model to authenticate against pam
This commit is contained in:
parent
3baf866760
commit
4d3527466b
1 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,8 @@ class User < ActiveRecord::Base
|
|||
# Include default devise modules. Others available are:
|
||||
# :token_authenticatable, :confirmable,
|
||||
# :lockable, :timeoutable and :omniauthable
|
||||
devise :database_authenticatable, :rememberable, :trackable, :validatable
|
||||
devise :database_authenticatable, :rememberable, :trackable, :validatable,
|
||||
:pam_authenticatable
|
||||
|
||||
# Setup accessible (or protected) attributes for your model
|
||||
attr_accessible :email, :password, :password_confirmation, :remember_me
|
||||
|
|
Loading…
Reference in a new issue