TwoFactorDevices.configure do |config|

# Devices owner model class e.g. User
config.device_owner = '<%= class_name %>'

# Base secret for otp generation.
# Uses for device challenges on registration
config.otp_base_secret = '<%= ROTP::Base32.random %>'

# Email gateway. Should implement send_otp method
# config.email_gateway = 'TwoFactorDevices::Gateways::Email'

# Phone gateway
# config.phone_gateway = 'PhoneGateway'

# Layout
# config.layout = 'application'

end