Setup Devise

This commit is contained in:
2020-02-12 13:26:25 +01:00
parent 0d7ce8fa2c
commit 9ec7b3ef50
24 changed files with 709 additions and 0 deletions

6
app/models/user.rb Normal file
View File

@ -0,0 +1,6 @@
class User < ApplicationRecord
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable, :trackable and :omniauthable
devise :database_authenticatable, :registerable,
:recoverable, :rememberable, :validatable
end