nodemailer / wildduck-webmail

Demo webmail service for WildDuck Mail Server
https://wildduck.email/
Other
144 stars 45 forks source link

Auto login after registration #31

Closed ghost closed 10 months ago

ghost commented 3 years ago

Sorry, this is more of a question than an issue.

How is it possible to alter the POST /create route to automatically login the users after registration?

andris9 commented 3 years ago

At this point you have both the username and password, so you could also perform an authentication and set up the authenticated session.

Currently not much effort is going into wildduck-webmail because there is a better implementation being built that eventually (once "ready enough") gets open sourced but so far hasn't.

Screenshot 2020-09-09 at 07 57 45
laurivosandi commented 10 months ago

Feel free to submit PR to improve the user experience, closing for now.

Note that saner option might be to handle user creation elsewhere and configure webmail to use SSO like we do it at k-space.ee

https://git.k-space.ee/k-space/kube/src/branch/master/wildduck/webmail.yaml#L38