Added "devise" for authentication.
This commit is contained in:
parent
e6a0f15340
commit
35eb83448e
11 changed files with 410 additions and 30 deletions
|
|
@ -1,2 +1,12 @@
|
|||
class User < ActiveRecord::Base
|
||||
# Include default devise modules. Others available are:
|
||||
# :confirmable, :lockable, :timeoutable and :omniauthable
|
||||
devise :database_authenticatable,
|
||||
# :registerable,
|
||||
# :recoverable,
|
||||
# :rememberable,
|
||||
:trackable,
|
||||
:validatable,
|
||||
:timeoutable,
|
||||
:lockable
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue