Sha256: fe11c58003e8d8c83830f3f1a7011d338e207229708775c12284a8c72c0016e9
Contents?: true
Size: 462 Bytes
Versions: 6
Compression:
Stored size: 462 Bytes
Contents
class EncryptedUser extend ActiveModel::Callbacks include ActiveModel::Validations include Devise::Models::DeviseXfactorAuthenticatable define_model_callbacks :create attr_accessor :encrypted_otp_secret_key, :encrypted_otp_secret_key_iv, :encrypted_otp_secret_key_salt, :email, :second_factor_attempts_count, :totp_timestamp has_one_time_password(encrypted: true) end
Version data entries
6 entries across 6 versions & 1 rubygems