Pihole web v5.18 requires auth on all API endpoints now #45
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pihole web v5.18 requires auth on all API endpoints now except for version and type. I am not a Swift dev, don't know how to compile and test these changes.
PR that caused this change - pi-hole/web#2411
Pihole release - https://github.com/pi-hole/AdminLTE/releases/v5.18
Since upgrading to the Pihole web v5.18, PiBar no longer works. Only the test connection function returns true.
![Screenshot 2022-12-23 at 10 57 31 AM](https://user-images.githubusercontent.com/9219376/209394790-c47787e6-ae08-4c74-88a3-afcfbd3bf72b.png)
![Screenshot 2022-12-23 at 10 57 48 AM](https://user-images.githubusercontent.com/9219376/209394797-fe8ee5c3-a170-41bd-bf83-8dca03e7cca4.png)