aboutsummaryrefslogtreecommitdiff
path: root/src/api/web.rs
diff options
context:
space:
mode:
authorJeremy Lin <[email protected]>2021-02-26 21:48:01 -0800
committerJeremy Lin <[email protected]>2021-02-26 21:48:01 -0800
commit39106d440a10b8d8f262d569f4facd6c39957a76 (patch)
treec62c1b62907dd8f16e291599803b9ec46d24dfa7 /src/api/web.rs
parent9117095764ec5944b0b337fedd183d0d89f6056d (diff)
downloadvaultwarden-39106d440a10b8d8f262d569f4facd6c39957a76.tar.gz
vaultwarden-39106d440a10b8d8f262d569f4facd6c39957a76.zip
Remove `md5.js` dependency
Switch to the built-in WebCrypto APIs for computing identicon hashes.
Diffstat (limited to 'src/api/web.rs')
-rw-r--r--src/api/web.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/api/web.rs b/src/api/web.rs
index 4b0e292b..7956c674 100644
--- a/src/api/web.rs
+++ b/src/api/web.rs
@@ -79,7 +79,6 @@ fn static_files(filename: String) -> Result<Content<&'static [u8]>, Error> {
"bootstrap.css" => Ok(Content(ContentType::CSS, include_bytes!("../static/scripts/bootstrap.css"))),
"bootstrap-native.js" => Ok(Content(ContentType::JavaScript, include_bytes!("../static/scripts/bootstrap-native.js"))),
- "md5.js" => Ok(Content(ContentType::JavaScript, include_bytes!("../static/scripts/md5.js"))),
"identicon.js" => Ok(Content(ContentType::JavaScript, include_bytes!("../static/scripts/identicon.js"))),
"datatables.js" => Ok(Content(ContentType::JavaScript, include_bytes!("../static/scripts/datatables.js"))),
"datatables.css" => Ok(Content(ContentType::CSS, include_bytes!("../static/scripts/datatables.css"))),