Sometimes when submitting the registration form a 500 server error page would be returned despite everything seemingly working correctly in the backend.
This is happening because if you accidentally press the submit button twice the form is submitted twice which causes a failure in the backend. The user is still registered successfully however with a verficiation email still being sent.