Sha256: e987362905eeda2a118055ec3a871ea687c9c854fe8e6b24e59421c4236460a7

Contents?: true

Size: 387 Bytes

Versions: 17

Compression:

Stored size: 387 Bytes

Contents

# frozen-string-literal: true

module Rodauth
  Feature.define(:reset_password_notify, :ResetPasswordNotify) do
    depends :reset_password
    loaded_templates %w'reset-password-notify-email'
    email :reset_password_notify, 'Password Reset Completed', :translatable=>true

    private

    def after_reset_password
      super
      send_reset_password_notify_email
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
rodauth-2.38.0 lib/rodauth/features/reset_password_notify.rb
rodauth-2.37.0 lib/rodauth/features/reset_password_notify.rb
rodauth-2.36.0 lib/rodauth/features/reset_password_notify.rb
rodauth-2.34.0 lib/rodauth/features/reset_password_notify.rb
rodauth-2.33.0 lib/rodauth/features/reset_password_notify.rb
rodauth-2.32.0 lib/rodauth/features/reset_password_notify.rb
rodauth-2.31.0 lib/rodauth/features/reset_password_notify.rb
rodauth-2.30.0 lib/rodauth/features/reset_password_notify.rb
rodauth-2.29.0 lib/rodauth/features/reset_password_notify.rb
rodauth-2.28.0 lib/rodauth/features/reset_password_notify.rb
rodauth-2.27.0 lib/rodauth/features/reset_password_notify.rb
rodauth-2.26.1 lib/rodauth/features/reset_password_notify.rb
rodauth-2.26.0 lib/rodauth/features/reset_password_notify.rb
rodauth-2.25.0 lib/rodauth/features/reset_password_notify.rb
rodauth-2.24.0 lib/rodauth/features/reset_password_notify.rb
rodauth-2.23.0 lib/rodauth/features/reset_password_notify.rb
rodauth-2.22.0 lib/rodauth/features/reset_password_notify.rb