mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-01 02:03:22 +00:00
Adpat user mailer to devise v3
This commit is contained in:
@@ -25,8 +25,9 @@ module Spree
|
||||
end
|
||||
|
||||
# Overrides `Devise::Mailer.confirmation_instructions`
|
||||
def confirmation_instructions(user, _opts)
|
||||
def confirmation_instructions(user, token, _opts = {})
|
||||
@user = user
|
||||
@token = token
|
||||
@instance = Spree::Config[:site_name]
|
||||
@contact = ContentConfig.footer_email
|
||||
|
||||
|
||||
Reference in New Issue
Block a user