Skip to content

Commit

Permalink
Cast boolean to ADMIN_ENABLED var
Browse files Browse the repository at this point in the history
  • Loading branch information
say-yawn committed Jul 27, 2021
1 parent 8db85cf commit 1af261e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion privaterelay/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@


# Get our backing resource configs to check if we should install the app
ADMIN_ENABLED = config('ADMIN_ENABLED', None)
ADMIN_ENABLED = config('ADMIN_ENABLED', False, cast=bool)


AWS_REGION = config('AWS_REGION', None)
Expand Down

0 comments on commit 1af261e

Please sign in to comment.