mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-10-25 09:06:47 +02:00
Remove unused dependency and simple feature, update dependencies and fix some clippy lints
This commit is contained in:
28 files changed
+229
-303
No files matched your search
+1
-2
@@ -216,8 +216,7 @@ fn twofactor_auth(
|
||||
|
||||
let selected_twofactor = twofactors
|
||||
.into_iter()
|
||||
.filter(|tf| tf.atype == selected_id && tf.enabled)
|
||||
.nth(0);
|
||||
.find(|tf| tf.atype == selected_id && tf.enabled);
|
||||
|
||||
use crate::api::core::two_factor as _tf;
|
||||
use crate::crypto::ct_eq;
|
||||
|
||||
Reference in new issue
Block a user