Observed on predev.my infinite redirect on a particular failure of the layout backend.
The layout backend should not, of course, fail.
But if it does fail, the front end shouldn't enter an infinite redirect loop.
This pull request backs out the change that made the framework more aggressive about redirecting through login on failures. Before this change, undefined responses yielded redirect. After this change, undefined responses don't yield a redirect.
Observed on predev.my infinite redirect on a particular failure of the layout backend.
The layout backend should not, of course, fail.
But if it does fail, the front end shouldn't enter an infinite redirect loop.
This pull request backs out the change that made the framework more aggressive about redirecting through login on failures. Before this change, undefined responses yielded redirect. After this change, undefined responses don't yield a redirect.