1
0
Fork 0

Update model to authenticate against pam

This commit is contained in:
Andrew Tomaka 2013-04-13 04:51:29 -04:00
parent 3baf866760
commit 4d3527466b
1 changed files with 2 additions and 1 deletions

View File

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