ssciwr / mondey

In development
https://mondey.lkeegan.dev
GNU Affero General Public License v3.0
0 stars 1 forks source link

add email to backend #109

Open lkeegan opened 1 month ago

lkeegan commented 1 month ago

Currently in our UserManager class the methods for forgot password and email confirmation after signup just print a message to the logs with the generated token:

https://github.com/ssciwr/mondey/blob/d4ea8f85283c81e378988904473b4a3d4cd2e9b7/mondey_backend/src/mondey_backend/users.py#L23-L38

We need to modify them to send an email to the user.

I've previously set up a send-only email server for websites using this docker image: https://hub.docker.com/r/boky/postfix

But maybe there is already an email server / account associated with mondey.de that we can/should use instead?

lkeegan commented 4 days ago

For now we should just use a send-only mail server