mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-11 09:13:02 +03:00
Parse bool values correctly #1846
Reference in New Issue
Block a user
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?
Originally created by @xoxys on GitHub.
Currently, uppercase bool values seems not to work e.g.
SIGNUPS_ALLOWED=Falsewhich is really confusing and can lead to missconfigured public servers.Normally, most common bool-ish string values like
1,0/yes,no/y,n/true,false/True,Falseshould be converted to a real bool while reading env variables.@dani-garcia commented on GitHub:
Should be fixed in
d212dfe735now.@xoxys commented on GitHub:
Cool, looks nice. Thanks for the fast fix.