1
0
Fork 0
vaultwarden-test/src
BlackDex 9a787dd105
Fix persistent folder check within containers
The previous persistent folder check worked by checking if a file
exists. If you used a bind-mount, then this file is not there. But when
using a docker/podman volume those files are copied, and caused the
container to not start.

This change checks the `/proc/self/mountinfo` for a specific patern to
see if the data folder is persistent or not.

Fixes #2622
2022-07-20 13:29:39 +02:00
..
api Fix issue with CSP and icon redirects 2022-07-17 16:21:03 +02:00
db Add more clippy checks for better code/readability 2022-07-10 16:39:38 +02:00
static Fix identicons not always working 2022-06-22 16:38:16 +02:00
auth.rs Remove read_file and read_file_string and replace them with the std alternatives 2022-07-15 19:13:26 +02:00
config.rs Fix issue with CSP and icon redirects 2022-07-17 16:21:03 +02:00
crypto.rs Increase length limit for email token generation 2022-01-24 01:17:00 -08:00
error.rs Migrate old ws crate to tungstenite, which is async and also removes over 20 old dependencies 2022-06-04 19:13:39 +02:00
mail.rs Upgrade dependencies and swap lettre to async transport 2022-07-06 23:57:37 +02:00
main.rs Fix persistent folder check within containers 2022-07-20 13:29:39 +02:00
ratelimit.rs Basic ratelimit for user login (including 2FA) and admin login 2021-12-22 21:48:49 +01:00
util.rs Fix issue with CSP and icon redirects 2022-07-17 16:21:03 +02:00