Files
project-work/worker-toolkit-flaredown/repo/backend/app/models/concerns/authenticatable.rb

22 lines
333 B
Ruby

module Authenticatable
extend ActiveSupport::Concern
included do
#
# Devise
#
devise :database_authenticatable,
:rememberable,
:recoverable,
:trackable,
:validatable,
:invitable,
:omniauthable
#
# Validates
#
validates :password, confirmation: true
end
end