Sha256: 62be8dd822a0453e7e37952b573ba41602bf389cfa45c10427da6fe75d11fb8b

Contents?: true

Size: 523 Bytes

Versions: 2

Compression:

Stored size: 523 Bytes

Contents

class Admin < ActiveRecord::Base
  # Include default devise modules. Others available are:
  # :token_authenticatable, :confirmable,
  # :lockable, :timeoutable and :omniauthable
  devise :authy_authenticatable, :authy_lockable, :database_authenticatable, :registerable,
         :recoverable, :rememberable, :trackable, :validatable, :lockable

  # Setup accessible (or protected) attributes for your model
  attr_accessible :authy_id, :last_sign_in_with_authy, :email, :password, :password_confirmation, :remember_me
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
devise-authy-1.7.0 authy-devise-demo/app/models/admin.rb
devise-authy-1.6.0 authy-devise-demo/app/models/admin.rb