app/models/admin_user.rb
class AdminUser < ApplicationRecord
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable and :omniauthable
devise :authy_authenticatable, :database_authenticatable, :trackable, :validatable
validates :email, presence: true
def staff?
true
end
end