Skip to content
Snippets Groups Projects
Commit d46e47a5 authored by Stan Hu's avatar Stan Hu
Browse files

Revert "Merge branch 'issues/15127' into 'master'"

This reverts merge request !3647
parent 3656b5db
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -789,6 +789,11 @@ class User < ActiveRecord::Base
other.select(:id)])
end
 
# Added according to https://github.com/plataformatec/devise/blob/7df57d5081f9884849ca15e4fde179ef164a575f/README.md#activejob-integration
def send_devise_notification(notification, *args)
devise_mailer.send(notification, self, *args).deliver_later
end
def ensure_external_user_rights
return unless self.external?
 
Loading
Loading
Devise::Async.backend = :sidekiq
Devise::Async.queue = :mailers
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment