FriendsOfFlarum / pretty-mail

A Flarum extension that allows you to make custom html templates for emails!
MIT License
8 stars 1 forks source link

Use display name in new user email #17

Open ctml91 opened 3 years ago

ctml91 commented 3 years ago

Bug Report

Current Behavior New user emails shows username

Steps to Reproduce

  1. Use a display name driver (nickname)
  2. Subscribe to new user emails as an admin
  3. Check an email when a new user registers
  4. The email contains the username, it would be preferable to have this use the display name instead

Expected Behavior The email should display the users display name

Environment

w3Abhishek commented 2 years ago

@friendsofflarum can i work on this issue?

imorland commented 2 years ago

@w3Abhishek abolutely! Just submit a PR once you're happy with the changes and we'll take a look and if everything is good we'll merge and release!