14 lines
307 B
Ruby
14 lines
307 B
Ruby
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
|