Refactor mail sending in selfservice
When I implemented the signup functionality, I wrote generic mail sending code (sendmail()
in uffd/sendmail.py
). The selfservice code still uses it's own send_mail
implementation for password reset. This is also used for admin functions (i.e. when a new user is created by an admin).