datadryad/dryad-repo — pull request #540 by dleehr (2014-03-07 17:53:36+00:00)
Title: Fix nasty bug, endless loop when registering with a bogus or empty email address

The condition to keep looping in eperson.js - doRegister() is based on the errors array being not empty. But there was no escape clause for when there was an error, so an error resulted in an endless loop

Fixes [Trello 188](https://trello.com/c/VEONBGhw)