mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-10-23 17:38:09 +03:00
Fixed some clippy lints and changed update_uuid_revision to only use one db query
This commit is contained in:
8 files changed
+32
-27
No files matched your search
@@ -15,7 +15,7 @@ pub struct TwoFactor {
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[derive(FromPrimitive, ToPrimitive)]
|
||||
#[derive(FromPrimitive)]
|
||||
pub enum TwoFactorType {
|
||||
Authenticator = 0,
|
||||
Email = 1,
|
||||
|
||||
Reference in new issue
Block a user