This commit is contained in:
blek 2023-12-09 22:13:42 +10:00
parent aae05764f5
commit 080498d80c
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 1 additions and 2 deletions

View File

@ -95,7 +95,7 @@ impl UploadFormData {
if val.is_checked() {
let name = data.get("filename")?;
out.filename = Some(name.as_atr_or_none()?);
out.lookup_kind = LookupKind::ByHash
out.lookup_kind = LookupKind::ByName
}
},
None => ()
@ -107,7 +107,6 @@ impl UploadFormData {
if val.is_checked() {
let pass = data.get("password")?;
out.password = Some(pass.as_atr_or_none()?);
out.lookup_kind = LookupKind::ByName
}
},
None => ()