Add env var to selectively disable Rocket auth #25
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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.