clintberry/backbone-directory-auth — pull request #1 by rafael-franca (2012-12-03 19:14:42+00:00)
Title: Update api/index.php

In all responses that were error, PHP responded as HTML, thus the errors were not displayed.
I changed the way errors are answered, now they go as JSON, which is correct.