Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle authentication failures when accessing /api/info/.
When accessing a password-protected /api/info/ path, we wouldn't gracefully handle an invalid login. Instead, we would fall back on the old, deprecated API. This would always fail on RB 1.6, making things very confusing. Now we handle this better and just simply bail if we can't log in the first time.
- Loading branch information
e08cc15
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not backward compatible. (at least it is not compatible with RB 1.0.9)
The api request fails with 404 which used to switch back to the old api, but now it just dies.
e08cc15
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to know. If you have a patch for this that you can test with your setup, we'll take it.
I should point out that we're about to release 0.4.0, and it will not be compatible at all with 1.0.x.