2013-04-06 01:05:36 -04:00
|
|
|
class User < ActiveRecord::Base
|
|
|
|
# Include default devise modules. Others available are:
|
|
|
|
# :token_authenticatable, :confirmable,
|
|
|
|
# :lockable, :timeoutable and :omniauthable
|
2013-04-13 04:51:29 -04:00
|
|
|
devise :database_authenticatable, :rememberable, :trackable, :validatable,
|
2013-04-21 00:35:51 -04:00
|
|
|
:kerberos_authenticatable
|
2013-04-06 01:05:36 -04:00
|
|
|
|
|
|
|
# Setup accessible (or protected) attributes for your model
|
2013-04-13 01:52:12 -04:00
|
|
|
attr_accessible :email, :password, :password_confirmation, :remember_me
|
|
|
|
attr_accessible :username
|
2013-04-06 01:05:36 -04:00
|
|
|
# attr_accessible :title, :body
|
|
|
|
end
|