Add devise

This commit is contained in:
maddiebaka
2023-10-13 18:16:00 -04:00
parent f5e9f3699f
commit c6fac7583d
24 changed files with 743 additions and 1 deletions

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

@@ -0,0 +1,13 @@
class User < ApplicationRecord
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable, :trackable and :omniauthable
devise :database_authenticatable, :registerable, :rememberable
def email_required?
false
end
def email_changed?
false
end
end