Fix salt path

This commit is contained in:
Sosthène Guédon
2023-04-05 16:18:34 +02:00
committed by Robin Krahl
parent 1653e5199e
commit 1d15014d43
+1 -1
View File
@@ -110,7 +110,7 @@ impl AuthBackend {
global_fs: &mut impl Filestore,
rng: &mut R,
) -> Result<Salt, Error> {
let path = PathBuf::from(BACKEND_DIR).join(&PathBuf::from("salt"));
let path = PathBuf::from("salt");
global_fs
.read(&path, self.location)
.or_else(|_| {