Sha256: 00cdab9208d661b1b0e8c633750905e668eff5233defdbc327a9d40aa6c05692

Contents?: true

Size: 354 Bytes

Versions: 11

Compression:

Stored size: 354 Bytes

Contents

# frozen_string_literal: true

class <%= user_class %> < ActiveRecord::Base
  # Include default devise modules. Others available are:
  # :confirmable, :lockable, :timeoutable and :omniauthable
  devise :database_authenticatable, :registerable,
         :recoverable, :rememberable, :trackable, :validatable
  include DeviseTokenAuth::Concerns::User
end

Version data entries

11 entries across 11 versions & 4 rubygems

Version Path
devise-tokens-1.0.4 lib/generators/devise_token_auth/templates/user.rb.erb
devise_token_auth-1.1.3 lib/generators/devise_token_auth/templates/user.rb.erb
devise_token_auth-1.1.2 lib/generators/devise_token_auth/templates/user.rb.erb
devise_token_auth-1.1.1 lib/generators/devise_token_auth/templates/user.rb.erb
devise_token_auth-1.1.0 lib/generators/devise_token_auth/templates/user.rb.erb
devise_token_auth_fork_dfabarbosa-1.0.0 lib/generators/devise_token_auth/templates/user.rb.erb
devise_token_auth_skycocker_fork-1.0.0 lib/generators/devise_token_auth/templates/user.rb.erb
devise_token_auth-1.0.0 lib/generators/devise_token_auth/templates/user.rb.erb
devise_token_auth-1.0.0.rc2 lib/generators/devise_token_auth/templates/user.rb.erb
devise_token_auth-1.0.0.rc1 lib/generators/devise_token_auth/templates/user.rb.erb
devise_token_auth-0.2.0 lib/generators/devise_token_auth/templates/user.rb