Sha256: a1dfc894157fbbe5eb4334bc349d718fdd5fd5e92e25a18297c64dcbc8670df2
Contents?: true
Size: 707 Bytes
Versions: 33
Compression:
Stored size: 707 Bytes
Contents
# frozen_string_literal: true namespace :eac_users_support do desc <<~DESCRIPTION Reseta a senha do usuário e permite setá-lo como administrador. Exemplos: # Reseta a senha do usuário "fulano@example.com" para "fulano@example.com". bin/rake eac_users_support:password_reset[fulano@example.com] # Reseta a senha do usuário "fulano@example.com" para "fulano@example.com" # e seta-o como administrador. bin/rake eac_users_support:password_reset[fulano@example.com,1] DESCRIPTION task :password_reset, %i[email administrator] => :environment do |_t, args| ::EacUsersSupport::Tasks::PasswordReset.new(args.email, args.administrator.present?).run end end
Version data entries
33 entries across 33 versions & 1 rubygems