kucherenko / strapi-plugin-passwordless

A plugin for Strapi Headless CMS that provides ability to sign-in/sign-up to an application by link had sent to email.
MIT License
77 stars 27 forks source link

Add to the README the Passwordless email variables that are available #25

Open willryanuk opened 10 months ago

willryanuk commented 10 months ago

When configuring the extension, it isn't clear what variables are available for the login email.

I think the only thing we have is: <%= URL %>?loginToken=<%= CODE %> ... for generating the login URL.

I'd actually like to know if we can alter the messaging for NEW USERS vs RETURNING USERS. And also, if there is any possibility for control logic in the email? Can the subject contain any variables/ control logic?

OlesCrown commented 6 months ago

Also, it would be nice to have a LANGUAGE SELECTOR for the emails. We can add an additional language tag in the context when submitting the request.