nicumicle/simple-jwt-login

Can't get email address in Replacement in Password Reset Custom Email

megatkhs opened this issue · 1 comments

Thanks for making a great plugin!

I used {{EMAIL}} for a custom password reset email, but it outputs user_login and I don't get the expected result.

Is there a reason why {{EMAIL}} outputs user_login when this plugin uses user_email for $sendTo?

If you don't mind, it would be nice if {{EMAIL}} outputs user_email.

I am sorry. I do not speak English. Please allow me to translate this issue with the Deeple translation tool.

Wow, I was caught up in the many email names described on the admin page.
I checked the implementation and I see that the email parameter used for the put method points to user_login!

The plugin flow works, but I was not comfortable with the naming of this area.

Would be great to see this improved!