Sha256: d733dac3904d1aebf83b69242986c0e5f742fdc9b47e3afdee5817553523e2fc

Contents?: true

Size: 382 Bytes

Versions: 17

Compression:

Stored size: 382 Bytes

Contents

# frozen-string-literal: true

module Rodauth
  Feature.define(:change_password_notify, :ChangePasswordNotify) do
    depends :change_password, :email_base
    loaded_templates %w'password-changed-email'
    email :password_changed, 'Password Changed', :translatable=>true

    private

    def after_change_password
      super
      send_password_changed_email
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

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