mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-06-18 09:20:08 +00:00
Add 2FA icon to admin panel
This commit is contained in:
parent
a1dc47b826
commit
700e084101
4 changed files with 6 additions and 5 deletions
|
@ -100,6 +100,7 @@ impl TwoFactor {
|
|||
pub fn find_by_user(user_uuid: &str, conn: &DbConn) -> Vec<Self> {
|
||||
twofactor::table
|
||||
.filter(twofactor::user_uuid.eq(user_uuid))
|
||||
.filter(twofactor::type_.lt(1000)) // Filter implementation types
|
||||
.load::<Self>(&**conn)
|
||||
.expect("Error loading twofactor")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue