mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-11-15 09:54:09 +00:00
Merge pull request #3228 from BlockListed/fix-domain-description
Fix trailing slash not getting removed from domain
This commit is contained in:
commit
e301fe137f
@ -141,6 +141,8 @@ macro_rules! make_config {
|
|||||||
)+)+
|
)+)+
|
||||||
config.domain_set = _domain_set;
|
config.domain_set = _domain_set;
|
||||||
|
|
||||||
|
config.domain = config.domain.trim_end_matches('/').to_string();
|
||||||
|
|
||||||
config.signups_domains_whitelist = config.signups_domains_whitelist.trim().to_lowercase();
|
config.signups_domains_whitelist = config.signups_domains_whitelist.trim().to_lowercase();
|
||||||
config.org_creation_users = config.org_creation_users.trim().to_lowercase();
|
config.org_creation_users = config.org_creation_users.trim().to_lowercase();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user