enable lockable strategy for users

This commit is contained in:
Nihad Abbasov 2012-07-06 00:05:31 -07:00
parent 2abd054b0c
commit 6533711825
4 changed files with 15 additions and 7 deletions

View file

@ -1,11 +1,11 @@
class User < ActiveRecord::Base
include Account
devise :database_authenticatable, :token_authenticatable,
devise :database_authenticatable, :token_authenticatable, :lockable,
:recoverable, :rememberable, :trackable, :validatable, :omniauthable
attr_accessible :email, :password, :password_confirmation, :remember_me, :bio,
:name, :projects_limit, :skype, :linkedin, :twitter, :dark_scheme,
:name, :projects_limit, :skype, :linkedin, :twitter, :dark_scheme,
:theme_id, :force_random_password
attr_accessor :force_random_password