Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix browser not popping up the basic auth login modal (#1986)
When dashboard basic auth was enabled and user not authenticated, the echo server return a HTTP 500 response. The root cause was that in the error handling, the error was already leaf error, but it get unwrapped to nil get handled as internal server error. Use the unwrapAll() which returns the leaf node always, and error get handled properly.
- Loading branch information