Includes the document number and type in the verification email

This commit is contained in:
kikito
2015-10-02 18:40:24 +02:00
parent 8a1b01e985
commit 9e05a3283c
5 changed files with 13 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ class Verification::Management::Email
plain_token, encrypted_token = Devise.token_generator.generate(User, :email_verification_token)
user.update(email_verification_token: plain_token)
Mailer.email_verification(user, email, encrypted_token).deliver_later
Mailer.email_verification(user, email, encrypted_token, document_type, document_number).deliver_later
true
end