janus/app/models/user.rb
2021-11-12 22:20:13 -05:00

9 lines
368 B
Ruby

class User < ApplicationRecord
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable, :trackable and :omniauthable
devise :database_authenticatable, :registerable,
:recoverable, :rememberable, :validatable,
:trackable, :confirmable
has_many :authorized_applications, dependent: :destroy
end