HydreIO / auth

A light graphql authentication server built on RedisGraph (Kubernetes ready)
The Unlicense
3 stars 2 forks source link

Added mail related changes #8

Closed FrostiizGit closed 3 years ago

FrostiizGit commented 3 years ago

Add payload parameters for all requests that sends a mail. This allows to send non sensitive data to the mail service. The payload is simply forwarded, no checks are made so you should probably check the payload before doing anything with it, except for the session mail where we add some session info to the payload. Now the auth is also sending a mail when creating a new session. And added test just to make sure that passing the lang in a payload actually works when sending a mail.