urlhum / UrlHum

The modern, privacy-aware URL Shortener built in PHP.
https://urlhum.com
MIT License
683 stars 120 forks source link

[Bug] Registering a new user returns a 500 Server Error when Email Server is not set up #97

Open morganlking opened 4 years ago

morganlking commented 4 years ago

Registering a new user from the login screen when I did not set up an email server generates and displays a 500 Server Error, but still creates the user.

Steps to reproduce the behavior:

  1. Go to login screen and click on register new user
  2. Fill out registration
  3. You should be redirected to a 500 Error Page

I would expect it to automatically log you in or take you back to the login page and say email isn't set up

optiroot commented 3 years ago

This is the intended behavoir. We could add some validation and check if the email server is set up.