
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Devise Async provides an easy way to configure Devise to send its emails asynchronously using ActiveJob.
Add this line to your application's Gemfile:
gem 'devise-async'
And then execute:
$ bundle
Or install it yourself as:
$ gem install devise-async
:async
to the devise
call in your model:class User < ActiveRecord::Base
devise :database_authenticatable, :async, :confirmable # etc ...
end
The gem can be enabled/disabled easily via config, for example based on environment.
# config/initializers/devise_async.rb
Devise::Async.enabled = true # | false
To avoid repeating Devise::Async
in the initializer file you can use the block syntax
similar to what Devise
offers.
# config/initializers/devise_async.rb
Devise::Async.setup do |config|
config.enabled = true
end
Customize Devise.mailer
at will and devise-async
will honor it.
If you want to use this gem with Rails < 5 and/or devise < 4 check out older releases, please.
RSpec is used for testing. The following should be enough for running the test:
$ bundle exec rspec
git checkout -b my-new-feature
)git commit -am 'Added some feature'
)git push origin my-new-feature
)Released under the MIT License. See the LICENSE file for further details.
FAQs
Unknown package
We found that devise-async demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.