1
0
Fork 1
Spiegel von https://github.com/dani-garcia/vaultwarden.git synchronisiert 2024-06-30 19:24:42 +02:00
vaultwarden/src/api/core
Jeremy Lin c2a324e5da Clean up domain whitelist logic
* Make `SIGNUPS_DOMAINS_WHITELIST` override the `SIGNUPS_ALLOWED` setting.
  Otherwise, a common pitfall is to set `SIGNUPS_DOMAINS_WHITELIST` without
  realizing that `SIGNUPS_ALLOWED=false` must also be set.

* Whitespace is now accepted in `SIGNUPS_DOMAINS_WHITELIST`. That is,
  `foo.com, bar.com` is now equivalent to `foo.com,bar.com`.

* Add validation on `SIGNUPS_DOMAINS_WHITELIST`. For example, `foo.com,`
  is rejected as containing an empty token.
2020-04-09 01:42:27 -07:00
..
two_factor Fix Duo auth failure with non-lowercased email addresses 2020-04-07 20:40:51 -07:00
accounts.rs Clean up domain whitelist logic 2020-04-09 01:42:27 -07:00
ciphers.rs Fix attachment size limit calculation 2020-03-31 02:30:28 -07:00
folders.rs Remove unnecessary clones and other clippy fixes 2019-11-02 17:39:01 +01:00
mod.rs Updated reqwest to the latest version. 2020-03-14 23:12:45 +01:00
organizations.rs Fix token error while accepting invite 2020-03-20 10:51:17 +01:00