Devise authentication added - no registration though
This commit is contained in:
parent
9f0a81152f
commit
3988c7ddf3
10 changed files with 429 additions and 1 deletions
6
app/models/user.rb
Normal file
6
app/models/user.rb
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
class User < ActiveRecord::Base
|
||||
# Include default devise modules. Others available are:
|
||||
# :confirmable, :lockable, :timeoutable and :omniauthable
|
||||
devise :database_authenticatable, # :registerable,
|
||||
:recoverable, :rememberable, :trackable, :validatable
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue