Sha256: 80f2a5e9f5f586ad1a370b2075b79ca138a62cc1f149c5215fa68d1e0bc79167
Contents?: true
Size: 1.35 KB
Versions: 15
Compression:
Stored size: 1.35 KB
Contents
# frozen_string_literal: true class UnregisterableUser include Mongoid::Document include Mongoid::Timestamps include Mongoid::Locker field :locker_locked_at, type: Time field :locker_locked_until, type: Time locker locked_at_field: :locker_locked_at, locked_until_field: :locker_locked_until ## User Info field :name, type: String field :nickname, type: String field :image, type: String ## Database authenticatable field :email, type: String, default: '' field :encrypted_password, type: String, default: '' ## Recoverable field :reset_password_token, type: String field :reset_password_sent_at, type: Time field :reset_password_redirect_url, type: String field :allow_password_change, type: Boolean, default: false ## Confirmable field :confirmation_token, type: String field :confirmed_at, type: Time field :confirmation_sent_at, type: Time field :unconfirmed_email, type: String # Only if using reconfirmable ## Required field :provider, type: String field :uid, type: String, default: '' ## Tokens field :tokens, type: Hash, default: {} # Include default devise modules. devise :database_authenticatable, :recoverable, :trackable, :validatable, :confirmable, :omniauthable include DeviseTokenAuth::Concerns::User end
Version data entries
15 entries across 15 versions & 4 rubygems