Add env var to selectively disable Rocket auth #25
Labels
No Label
bug
documentation
duplicate
enhancement
help wanted
invalid
maintenance
peach-lib
peach-network
peach-oled
peach-stats
peach-web
question
refactor
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: PeachCloud/peach-workspace#25
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We need a simple way of deactivating authentication for testing and development.
Add a
DISABLE_ROCKET_AUTH
environment variable and check it in theRequest
guard. If the value isfalse
or unset, setup auth like normal; if the value istrue
, setup theRequest
guard without auth.Add clear docs and logging.
Addressed in PR#36.