forked from External/greenlight
This patch makes parsing booleans from configuration settings more
resilient to ensure no accidental errors occur e.g. due to the use of
upper or lowercase letters.
Example: Without this patch, the following configuration would disable
Greenlight accounts which is quite unexpected behavior from a users
perspective:
ALLOW_GREENLIGHT_ACCOUNTS=True
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>