Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Correctly render errors when adding account #445
There are three errors that can show up when adding an account:
Currently, error 1 with any of the other errors will stack rather than replace the notification.
Error 2 and error 3 will not replace themselves nor stack. For example, if an user forgets to add the local part, error 3 will show. If he then forgets to add the domain part, error 3 will still be there and will not be replaced by error 2.
Expected behavior: errors should replace themselves or there should be only one error, such as "invalid credentials".