Sha256: ca8b949a4b596b102abc931a9c77df6eb64277df66c01e1dfe6a03cf71177296
Contents?: true
Size: 513 Bytes
Versions: 3
Compression:
Stored size: 513 Bytes
Contents
# frozen-string-literal: true module Rodauth Feature.define(:otp_modify_email, :OtpModifyEmail) do depends :otp, :email_base loaded_templates %w'otp-setup-email otp-disabled-email' email :otp_setup, 'TOTP Authentication Setup', :translatable=>true email :otp_disabled, 'TOTP Authentication Disabled', :translatable=>true private def after_otp_setup super send_otp_setup_email end def after_otp_disable super send_otp_disabled_email end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rodauth-2.38.0 | lib/rodauth/features/otp_modify_email.rb |
rodauth-2.37.0 | lib/rodauth/features/otp_modify_email.rb |
rodauth-2.36.0 | lib/rodauth/features/otp_modify_email.rb |